WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] growing file systems

sfdisk --re-read /dev/hdb

gave me this:
sfdisk: cannot open /dev/hdb for reading

I was forced to reboot the domU and rerun xfs_growfs and it worked fine. Though this is much less than optimal. and half the reason i use xfs :(

anyone else know of a reliable live filesystem grower ?

Brock Palen
Center for Advanced Computing
brockp@xxxxxxxxx
(734)936-1985


On Jun 29, 2006, at 11:01 AM, Jan Philipp Giel wrote:

Am Donnerstag 29 Juni 2006 16:34 schrieb Brock Palen:
Has anyone seen a problem with growing file systems in domU's with
xfs?  I use LVM for my volumes.  i grew the volume in dom0 with
'lvextend -L +10G /dev/noraid/bacdumps'

in the domU i run  'xfs_growfs /path/to/mounted/fs'

lvs in dom0 says the volume is larger.
bacdumps    noraid -wi-ao  25.00G

but xfs_growfs prints out info of the old size (15 GB)

bsize=4096   blocks=3932160

and 'df' in the domU shows the same results only 15GB,   i dont have
this problem on non xen machines.  Any thoughts ?

Could it be that your domU kernel has to re-read the partition table? Maybe the domU kernel does not know that you have resized the "partition" but the
dom0 kernel does (because you used lvextend in there).

sfdisk --re-read

should make your kernel reread the partition table (if you have sfdisk...).

Regards
Philipp

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>