[OpenAFS] Moving volume to server with existing RO replica

Lukas Kubin kubin@opf.slu.cz
Mon, 19 Apr 2004 11:24:03 +0200


This is a cryptographically signed message in MIME format.

--------------ms090307040401020806010207
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit



Horst Birthelmer wrote:
> Hi,
> 
> On Monday, April 19, 2004, at 10:11 AM, Lukas Kubin wrote:
> 
>> I'm moving a volume to another server, where a RO replica of that volume
>> is already present. I thought it will just change some information in
>> headera of that volu. But it moves all the data to the server with RO
>> replica again.
>>
> 
> 
> As far as I know the actual volume information is the RW volume.
> So if you're moving that one you REALLY move THE volume.
> I don't see any reason why that should act differently.
> 
>> 1. Why? Is there a way how to do such operation fast?
> 
> 
> how fast??
> If you're talking about just transferring the differences, well that's a 
> quite good idea :-))
> You still have to copy the RO volume and then somehow do the opposite of 
> the 'vos release'.
> That's quite complicated don't you think??

Let's say I have 50 GB volume. It is RW volume on server A and RO 
replica on server B. So there are 50 GB of same data on A and 50 GB on 
server B.
Now I want the volume to be only stored on server B. So I do a 'vos 
release' and expect the move operation will find the data in A/RW and 
B/RO are the same and so it is useless to transfer them again. It didn't 
happen. Instead, it moved them all through the network again to a new 
volume on B. Also, during the time of the move proces the space used by 
the volume on B grows up to 100 GB (50GB of RO replica + up to 50 GB of 
incoming data for the volume being moved).
Is there any reason for the system to behave this way?

> 
>> 2. The servers are connected with 1Gbps connection. The data are only
>> transferred at 5Mbps, however. Both servers also have free capacity on
>> CPU, memory, they are quite idle in this time. Is it normal for the move
>> operation to be that slow?
>>
> 
> 5Mbps is a little slow if your connection is fast.
> The RX connection isn't famous for being fast as light but 5Mbps is 
> really slow.
> You should check your cache and chunksizes.

I've never configured this parameters. Could you give me any advise what 
to check. Both the servers are Dell Poweredge running Debian Linux. AFS 
client's parameteters on the servers are thos set by Debian default, ie: 
"-stat 2000 -dcache 800 -daemons 3 -volumes 70"

Now I've found the server processes (volserver, fileserver, etc.) are 
runned without any parameters. I guess I should use some ;-) Are there 
any examples listed somewhere?

Thank you.

lukas

> Horst
> 

-- 
Lukas Kubin

phone: +420596398275
email: kubin@opf.slu.cz

Information centre
The School of Business Administration in Karvina
Silesian University in Opava
Czech Republic
http://www.opf.slu.cz

--------------ms090307040401020806010207
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGbDCC
AzIwggIaoAMCAQICAgDmMA0GCSqGSIb3DQEBBAUAMDIxCzAJBgNVBAYTAkNaMQ8wDQYDVQQK
EwZDRVNORVQxEjAQBgNVBAMTCUNFU05FVCBDQTAeFw0wMzExMTkxNDM4NTdaFw0wNDExMTgx
NDM4NTdaMEUxDzANBgNVBAoTBkNFU05FVDEcMBoGA1UEChMTU2lsZXNpYW4gVW5pdmVyc2l0
eTEUMBIGA1UEAxMLbHVrYXMga3ViaW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL7l
zAuBktAjhaVuPR0S2kwnO/xt1fp9D2GdLpxu2NcqUsuyEC00k3VHEijgFzcNt7+QviV1y5nq
P3nmCqk+eNp20Z3qrYZKGh0YTho/qPESyjFZ4P2NmV7W+SewXZ0IEtxD/DaOMQo8kww1ho5y
zaxVgSRItwefSBEMmFYdqrxpAgMBAAGjgcIwgb8wHQYDVR0OBBYEFNBqBwZMDvExebpgW4m8
MCWtsegvMB8GA1UdIwQYMBaAFPhWGtmaeJVttIiEVTUvqgbz1yBaMDUGA1UdHwQuMCwwKqAo
oCaGJGh0dHA6Ly93d3cuY2VzbmV0LmN6L3BraS9jcmwvY2NhLmNybDAOBgNVHQ8BAf8EBAMC
BPAwGwYDVR0RBBQwEoEQa3ViaW5Ab3BmLnNsdS5jejAZBgNVHSAEEjAQMA4GDCsGAQQBvnkB
AgIBATANBgkqhkiG9w0BAQQFAA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