I had our VMWare admin extend the file system on which /space is mounted (/dev/sda8). I’m trying to expand the file system. In the short time I’ve been researching, it appears that I want to use xfs_growfs.
I’m both a debian and xfs noob, used to AIX. This is the first day of my second week here, and as I’m the closest thing here to a linux admin, I get the opportunity to learn. This is a box that is not yet in production, and the anticipation is that the /space directory will need to be twice its’ current size once the real data starts showing up.
System specifics:
root@thisbox:/# xfs_repair -V xfs_repair version 3.1.7
root@thisbox:/# uname -a Linux vmdamims01apl 3.10-0.bpo.2-amd64 #1 SMP Debian 3.10.5-1~bpo70+1+ims1 (2013-08-19) x86_64 GNU/Linux
Here’s what I get when I try to use xfs_growfs, both the –d and the –D option (the 25000000 size is an arbitrary number above 19323392):
root@vmdamims01apl:/# xfs_growfs -d /space meta-data="" isize=256 agcount=4, agsize=4830848 blks = sectsz=512 attr=2 data = bsize=4096 blocks=19323392, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=9435, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 data size 19323391 too small, old size is 19323392
root@vmdamims01apl:/# xfs_growfs -D 25000000 /space meta-data="" isize=256 agcount=4, agsize=4830848 blks = sectsz=512 attr=2 data = bsize=4096 blocks=19323392, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=9435, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 data size 25000000 too large, maximum is 19323391
df –k . says this:
/space# df -k . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda8 77255828 15375660 61880168 20% /space
Any help in getting me on track appreciated: don’t mind doing the work & the reading, quite willing to be self-sufficient, but a shove in the right direction would be a great help. One thing I’d like to do is see what space is actually available: I’m told that the presented disk was extended by 150Gb in VMWare. How can I verify that? Thanks!
Regards,
Dan
|
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs