07-30-2009
Adding space to a filesystem
Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have:
HTML Code:
DISKS:
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 4 10/0/15/0.3.0 sdisk CLAIMED DEVICE SEAGATE ST39173W
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0
disk 1 10/0/15/1.6.0 sdisk CLAIMED DEVICE SEAGATE ST118202LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
DISK INFO:
SCSI describe of /dev/rdsk/c2t3d0:
vendor: SEAGATE
product id: ST39173W
type: direct access
size: 8891556 Kbytes
bytes per sector: 512
SCSI describe of /dev/rdsk/c3t6d0:
vendor: SEAGATE
product id: ST118202LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
VOLUME GROUP INFO:
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 21
Open LV 21
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4335
Free PE 5 Note: Indicates about 20MB free
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2171
VGDA 2
PE Size (Mbytes) 8
Total PE 1085
Alloc PE 1085
Free PE 0 Note: Indicates no 0MB free
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
CURRENT SPACE USED/AVAILABLE:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 88097 51816 63% /
/dev/vg00/lvol1 111637 40058 60415 40% /stand
/dev/vg00/lvol8 524288 153094 349009 30% /var
/dev/vg00/lvol7 1581056 1136942 416411 73% /usr
/dev/vg00/lvol15 614400 580046 32238 95% /usr/opt/sybase
/dev/vg00/lvol4 65536 2312 60234 4% /tmp
/dev/vg00/lvol10 524288 429898 91661 82% /sybwork
/dev/vg01/lvol17 1572864 1141466 404450 74% /replenish
/dev/vg00/lvol13 5120000 1670758 3237493 34% /oracle_01
/dev/vg00/lvol12 4096000 3715199 365854 91% /oracle9i
/dev/vg00/lvol9 2097152 1951666 136930 93% /oracle817
/dev/vg01/lvol18 3219456 2527538 649444 80% /oracle10G
/dev/vg01/lvol16 4096000 2951891 1073641 73% /oracle
/dev/vg00/lvol6 1146880 1089789 54733 95% /opt
/dev/vg00/lvol11 102400 37248 61340 38% /lsrc
/dev/vg00/lvol5 49152 42272 6734 86% /home
/dev/vg00/lvol14 53248 28018 23720 54% /SYSRES
I know there is no FREE PE available in the Volumn groups but is ther any more space available on the disks to allocate? If so, how do I do this. Sorry but I am new to HP-UX. Thank you for any assistance you can provide.
~David
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need step-by-step on how to add more space to /apps in solaris. Currently df -hk:
/dev/md/dsk/d40 15G 13G 1.6G 90% /app
How much can I expand and how?
Thanks in advance. (2 Replies)
Discussion started by: simt
2 Replies
2. UNIX for Advanced & Expert Users
Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day.
what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies
3. Solaris
is there a command that will display amount of free space...associated by filesystem name?
# df /home
/home (/dev/dsk/c1t0d0s3 ): 8069326 blocks 487280 files
HP has bdf:
bdf /home
Filesystem kbytes used ... (2 Replies)
Discussion started by: mr_manny
2 Replies
4. Filesystems, Disks and Memory
Hi,
Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem:
>df -k .
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/test 48720000 9337904 81% 14846 1% /home
The space allocated = 48720000/1024 =... (1 Reply)
Discussion started by: deepakgang
1 Replies
5. UNIX for Advanced & Expert Users
Hi All!
I need to create a new filesystem /u01 , using the existing space and giving 100GB space to /u01.
I can allocate 100Gb from / which is currently 145GB.
Following is the screen shot of my df command.
# df
Filesystem 1K-blocks Used Available Use% Mounted on... (4 Replies)
Discussion started by: nua7
4 Replies
6. AIX
Hello I have a flesystem that has run out of space. I have tried using the following command to add space:
# chfs -a size=+100 /lsrc
I get the following error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough... (9 Replies)
Discussion started by: dkranes
9 Replies
7. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
8. Solaris
Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone?
I'm using a lofs filesystem..
any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
9. UNIX for Dummies Questions & Answers
I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place? (11 Replies)
Discussion started by: trojan28
11 Replies
xfs_growfs(8) System Manager's Manual xfs_growfs(8)
NAME
xfs_growfs, xfs_info - expand an XFS filesystem
SYNOPSIS
xfs_growfs [ -dilnrxV ] [ -D size ] [ -e rtextsize ] [ -L size ] [ -m maxpct ] [ -t mtab ] [ -R size ] mount-point
xfs_info [ -t mtab ] mount-point
DESCRIPTION
xfs_growfs expands an existing XFS filesystem (see xfs(5)). The mount-point argument is the pathname of the directory where the filesystem
is mounted. The filesystem must be mounted to be grown (see mount(8)). The existing contents of the filesystem are undisturbed, and the
added space becomes available for additional file storage.
xfs_info is equivalent to invoking xfs_growfs with the -n option (see discussion below).
OPTIONS
-d | -D size
Specifies that the data section of the filesystem should be grown. If the -D size option is given, the data section is grown to that
size, otherwise the data section is grown to the largest size possible with the -d option. The size is expressed in filesystem
blocks.
-e Allows the real-time extent size to be specified. In mkfs.xfs(8) this is specified with -r extsize=nnnn.
-i The new log is an internal log (inside the data section). [NOTE: This option is not implemented]
-l | -L size
Specifies that the log section of the filesystem should be grown, shrunk, or moved. If the -L size option is given, the log section
is changed to be that size, if possible. The size is expressed in filesystem blocks. The size of an internal log must be smaller
than the size of an allocation group (this value is printed at mkfs(8) time). If neither -i nor -x is given with -l, the log contin-
ues to be internal or external as it was before. [NOTE: These options are not implemented]
-m Specify a new value for the maximum percentage of space in the filesystem that can be allocated as inodes. In mkfs.xfs(8) this is
specified with -i maxpct=nn.
-n Specifies that no change to the filesystem is to be made. The filesystem geometry is printed, and argument checking is performed,
but no growth occurs.
-r | -R size
Specifies that the real-time section of the filesystem should be grown. If the -R size option is given, the real-time section is
grown to that size, otherwise the real-time section is grown to the largest size possible with the -r option. The size is expressed
in filesystem blocks. The filesystem does not need to have contained a real-time section before the xfs_growfs operation.
-t Specifies an alternate mount table file (default is /proc/mounts if it exists, else /etc/mtab). This is used when working with
filesystems mounted without writing to /etc/mtab file - refer to mount(8) for further details.
-V Prints the version number and exits. The mount-point argument is not required with -V.
xfs_growfs is most often used in conjunction with logical volumes (see md(4) and lvm(8) on Linux). However, it can also be used on a regu-
lar disk partition, for example if a partition has been enlarged while retaining the same starting block.
PRACTICAL USE
Filesystems normally occupy all of the space on the device where they reside. In order to grow a filesystem, it is necessary to provide
added space for it to occupy. Therefore there must be at least one spare new disk partition available. Adding the space is often done
through the use of a logical volume manager.
SEE ALSO
mkfs.xfs(8), md(4), lvm(8), mount(8).
xfs_growfs(8)