Sponsored Content
Full Discussion: Adding space to a filesystem
Operating Systems AIX Adding space to a filesystem Post 302288653 by homeyjoe on Tuesday 17th of February 2009 03:39:41 PM
Old 02-17-2009
dkranes - pls post the output of 'lsvg -l vg01' and 'lsvg -p vg01'. My guess is the logical volume is setup as RAID 1 (mirroring).
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

add space to filesystem in solaris

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

Increasing filesystem space

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

free space, associated by filesystem name...

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

calculating the filesystem space

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

Adding a filesystem.

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. HP-UX

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: DISKS: Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies

7. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

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

Adding a filesystem to a running local zone

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

Filesystem not using all available space in Logical Volume

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
LVEXTEND(8)						      System Manager's Manual						       LVEXTEND(8)

NAME
       lvextend - extend the size of a logical volume

SYNOPSIS
       lvextend [--alloc AllocationPolicy] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize
       StripeSize]]   {-l|--extents   [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]   |   -L|--size    [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
       [-f|--force] [-n|--nofsck] [-r|--resizefs] [-t|--test] [-v|--verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]

DESCRIPTION
       lvextend allows you to extend the size of a logical volume.  Extension of snapshot logical volumes (see lvcreate(8) for information to cre-
       ate snapshots) is supported as well.  But to change the number of copies in a mirrored logical volume use lvconvert(8).

OPTIONS
       See lvm for common options.

       --noudevsync
	      Disable udev synchronisation. The process will not wait for notification from udev.  It will continue irrespective of  any  possible
	      udev  processing	in the background.  You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
	      ates.

       -l, --extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]
	      Extend or set the logical volume size in units of logical extents.  With the + sign the value is added to the  actual  size  of  the
	      logical volume and without it, the value is taken as an absolute one.  The number can also be expressed as a percentage of the total
	      space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume  with	the  suffix  %LV,  of  the
	      remaining  free  space  for the specified PhysicalVolume(s) with the suffix %PVS, as a percentage of the remaining free space in the
	      Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total space in the Origin	Logical  Volume  with  the
	      suffix %ORIGIN.  The resulting value is rounded upward.

       -L, --size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
	      Extend  or set the logical volume size in units of megabytes.  A size suffix of M for megabytes, G for gigabytes, T for terabytes, P
	      for petabytes or E for exabytes is optional.  With the + sign the value is added to the actual size of the logical volume and  with-
	      out it, the value is taken as an absolute one.

       -i, --stripes Stripes
	      Gives  the number of stripes for the extension.  Not applicable to LVs using the original metadata LVM format, which must use a sin-
	      gle value throughout.

       -I, --stripesize StripeSize
	      Gives the number of kilobytes for the granularity of the stripes.  Not applicable to LVs using the  original  metadata  LVM  format,
	      which must use a single value throughout.
	      StripeSize must be 2^n (n = 2 to 9)

       -f, --force
	      Proceed with size extension without prompting.

       -n, --nofsck
	      Do  not  perform	fsck  before  extending  filesystem  when filesystem requires it. You may need to use --force to proceed with this
	      option.

       -r, --resizefs
	      Resize underlying filesystem together with the logical volume using fsadm(8).

Examples
       "lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3.  This is
       only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it.

       "lvextend  /dev/vg01/lvol01  /dev/sdk3"	tries  to  extend  the	size of that logical volume by the amount of free space on physical volume
       /dev/sdk3.  This is equivalent to specifying "-l +100%PVS" on the command line.

       "lvextend -L+16M vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9"
       tries to extend a logical volume "vg01/lvol01" by 16MB using physical extents /dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents.

SEE ALSO
       fsadm(8), lvm(8), lvcreate(8), lvconvert(8), lvreduce(8), lvresize(8), lvchange(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					       LVEXTEND(8)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy