----- Original Message -----
From: "Nathan Straz" <nstraz@xxxxxxx>
To: "Dmitry Melekhov" <dm@xxxxxxxxxx>
Cc: <linux-xfs@xxxxxxxxxxx>
Sent: Wednesday, April 23, 2003 7:58 PM
Subject: Re: filesystem size difference ? ;-)
> On Wed, Apr 23, 2003 at 07:37:15PM +0400, Dmitry Melekhov wrote:
> > I need to move info from one logic volume with xfs on on server (RH 6.2,
> > kernel 2.4.20)
> > to another server with Suse SLES8 (kernel 2.4.19 from suse).
> > But I can't do this.
> ...
> > [root@p100 docs]# df |grep common
> > /dev/vg02/lvcommon 9432384 8656124 776260 92%
/home/samba/common
> ...
> > vader:/home/samba/docs/asuconnect # df|grep common
> > /dev/vga3/lvcommon 10480960 10479104 1856 100%
/home/samba/common
> ...
> > Any ideas?
>
> Try using xfsdump and xfsrestore.
>
> [root@p100 /]# xfsdump -l 0 - /home/samba/common | (rsh vader xfsrestore
> - /home/samba/common
>
> Fix up the rsh as needed. This should copy everything over as XFS sees
> it.
Unfortunately, this doesn't help.
I tried to copy filesystem with less size:
[root@p100 asuconnect]# df |grep asuconnect
/dev/vg02/lvasuconnect
355648 337128 18520 95%
/home/samba/docs/asuconn
ect
with command:
xfsdump -l 0 - /home/samba/docs/asuconnect | rsh vader "xfsrestore -
/home/samba
/docs/asuconnect"
Result:
vader:/home/samba/docs/asuconnect # df |grep asuconnect
/dev/vga3/lvasuconnect
355648 329564 26084 93%
/home/samba/docs/asuconnect
And I got lots of warinings :
xfsrestore: WARNING: open of Бюджет/БКК/Платежи.xls failed: No space left on
device: discarding ino 2359425
Sorry file has cyrillic name ;-)
And, after such warning I see success:
xfsrestore: restore complete: 33 seconds elapsed
xfsrestore: Restore Status: SUCCESS
Hmm, I never used xfsdump before, but this looks very strange...
|