noob question
Fitzgerald, Dan
dfitzger at nvrinc.com
Mon Jan 6 16:11:30 CST 2014
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 at thisbox:/# xfs_repair -V
xfs_repair version 3.1.7
root at 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 at vmdamims01apl:/# xfs_growfs -d /space
meta-data=/dev/sda8 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 at vmdamims01apl:/# xfs_growfs -D 25000000 /space
meta-data=/dev/sda8 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
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This email is confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please contact the sender and be advised that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. The terms for the purchase and sale of any property referenced in this email shall be solely determined by a ratified Purchase Agreement. Any information provided in this email, including but not limited to, pricing, financing, features of a property and/or community, is not to be construed as the basis of the bargain for the purchase and sale of any such property.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20140106/a9de6d22/attachment-0001.html>
More information about the xfs
mailing list