On Sat, Jan 14, 2012 at 12:12:06AM +0100, Marco L. Crociani wrote: > Hi, > the situation: > Label: 'RootFS' uuid: c87975a0-a575-405e-9890-d3f7f25bbd96 > Total devices 2 FS bytes used 284.98GB > devid 2 size 311.82GB used 286.51GB path /dev/sdb3 > devid 1 size 897.76GB used 286.51GB path /dev/sda3 > > RootFS created when sda3 was 897.76GB and sdb3 311.82GB. > I have now freed other space on sdb. So I deleted sdb3 and recreated > it occupying all available space. > > Disk /dev/sdb: 2000 GB, 2000396321280 bytes > 255 heads, 63 sectors/track, 243201 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > /dev/sdb3 54 117249 941368837 83 Linux > > same as > /dev/sda3 54 117249 941368837 83 Linux > > # ./btrfs filesystem resize max /mnt/RootFS > Resize '/mnt/RootFS' of 'max' > > on dmesg I get only: > [ 657.438464] btrfs: new size for /dev/sda3 is 963962208256 > > # ./btrfs fi sh > Label: 'RootFS' uuid: c87975a0-a575-405e-9890-d3f7f25bbd96 > Total devices 2 FS bytes used 284.98GB > devid 2 size 311.82GB used 286.51GB path /dev/sdb3 > devid 1 size 897.76GB used 286.51GB path /dev/sda3 > > /dev/sdb3 is the same. > > How can I resize /dev/sdb3?
I think the syntax you need is btrfs fi resize max /mnt/RootFS:2 But I could be wrong. If it works, can you add it to the UseCases page on the wiki, please? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Someone's been throwing dead sheep down my Fun Well ---
signature.asc
Description: Digital signature