- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Increasing size on existing Filesystems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:23 AM
07-25-2002 07:23 AM
I need to increase the size of the File Systems with new disks that have been allocated.
I need to split the space between all the File Systems.
I would just like to confirm the steps require as it is a live production machine.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:33 AM
07-25-2002 07:33 AM
Re: Increasing size on existing Filesystems
2. vgextend vg?? /dev/dsk/c?t?d?
3. Use SAM to add space to existing filesystems; it is friendly and safe. You do not have to bring down a filesystem to extend its size.
Good luck.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:36 AM
07-25-2002 07:36 AM
Re: Increasing size on existing Filesystems
The earlier reply is on the right track but to extend an existing filesystem (ie. something already mounted) you need to either unmount it or use some purchaseable software called OnlineJFS (which has an fsadm command to extend on the fly).
If you have OnlineJFS then its easy, lvextend your lvol then use fdadm -F vxfs -b
If not then you need to unmount your filesystem, lvextend it, then run extendfs on it, then remount it.
Or just create some new mountpoints with your new space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:37 AM
07-25-2002 07:37 AM
SolutionIf you are simply adding disks (and you have OnlineJFS) then
1) pvcreate each new disk
2) vgextend the VG using the paths for each of the new disks
3) lvextend each LVOL specify the desired physical disk to furnish the additional extent
4) use fsadm -F vxfs -b to extend an OnlineJFS filesystem or extendfs for unmounted vxfs of hfs filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:38 AM
07-25-2002 07:38 AM
Re: Increasing size on existing Filesystems
If you have online jfs installed it is easy.
volume group vg01
disk device cxtydz
pvcreate -f /dev/rdsk/cxtydz
vgextend /dev/vg01 /dev/dsk/cxtydz
lvexentd -L 1000 /dev/vg01/rvlol2
extendfs /dev/vgo1/rlvol1
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:39 AM
07-25-2002 07:39 AM
Re: Increasing size on existing Filesystems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:40 AM
07-25-2002 07:40 AM
Re: Increasing size on existing Filesystems
If you have online JFS then life is bit easy.!
If you are adding a new disk to existing VG then
pvcreate, vgextend, lvextend , and then fsadm commands can be used.
pvcreate /dev/rdsk/cxtydz.
vgexnted /dev/vgnn /dev/ds/cxtydz
lvextend -l (new extent number) /dev/vgnn/lvolnn /dev/dsk/cxtydz . You can use -L option and give new total size of the disk in mb.
fsadm -F vxfs -b newsize in (you need to put M immeditiely after the size viz 3000M)
Thats it. If you have mirror then you can use -m option with lvextend.
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:44 AM
07-25-2002 07:44 AM
Re: Increasing size on existing Filesystems
No-OnlineJFS
=============
# pvcreate /dev/rdsk/c2t2d0
# vgextend /dev/vg02 /dev/dsk/c2t2d0
You then need to unmount /apps to increase it.
# cd /
# umount /apps
# lvextend -L 2400 /dev/vg02/lvol1
==> New size is now 2.4GB
# extendfs -F vxfs /dev/vg02/rlvol1
==> Extending the FS. Replace "vxfs" with "hfs" is you're using HFS.
# mount -a
With-OnlineJFS
=-=-==========
# pvcreate /dev/rdsk/c2t2d0
# vgextend /dev/vg02 /dev/dsk/c2t2d0
# lvextend -L 2400 /dev/vg02/lvol1
# fsadm -b 2457600 /apps
==> Extending /apps on-the-fly. (2400*1024)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:44 AM
07-25-2002 07:44 AM
Re: Increasing size on existing Filesystems
I do have onlineJFS so I will use fsadm.
How do I calculate the value for the -l in lvextend and also the -b in fsadm?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:47 AM
07-25-2002 07:47 AM
Re: Increasing size on existing Filesystems
The -l is extent size (in 4MB chunks usually) or you can use -L
For the -b option for fsadm its the size in Megabytes*1024, eg. 1000Mb * 1024 = fsadm -F vxfs -b 1024000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:51 AM
07-25-2002 07:51 AM
Re: Increasing size on existing Filesystems
is you haver to increase the size by 400 MB as it says at the last of the amnpages do
lvextend -l 400 /dev/vg01/rvlol1
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 07:59 AM
07-25-2002 07:59 AM
Re: Increasing size on existing Filesystems
#lvextend -l
Here replace the value with number of physical extensions (Size= no of physical extensions X PE size)
#lvextend -L
Here replace the value with size of the volume.