- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need help extending /usr
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
01-02-2004 03:03 AM
01-02-2004 03:03 AM
I figured I check here first as usual..
I need to extend /usr currently it resides on an internal disk on lv07, there is no more room on this particle PV or LV..
I need to add an LV I know.. can I extend the filesystem across multiple LV's ??
If so how can I do it without too much effort.. I'd appreciate any step by step process someone else may have to do this..
Thanks
Rex M - ESU#3
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:09 AM
01-02-2004 03:09 AM
Re: need help extending /usr
vgdisplay -v vg00
If yes you can make an Ignite backup(make_tape_recovery) and after you boot using this tape and you can extend your LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:10 AM
01-02-2004 03:10 AM
Re: need help extending /usr
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2500
VGDA 4
PE Size (Mbytes) 8
Total PE 2168
Alloc PE 2166
Free PE 2
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:13 AM
01-02-2004 03:13 AM
Re: need help extending /usr
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 1925
Free PE 2415
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
# vgdisplay -v vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 1508
Free PE 2832
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Volume groups ---
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 16
Open LV 14
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 2476
Free PE 1864
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:24 AM
01-02-2004 03:24 AM
SolutionYou can not extend your file system across multiple LV's. You will need to extend the LV that /usr is mount on, which typically is /vg00/lvol7. But, if you do not have enough available extents in vg00, then you will need to add a disk to the volume group. You do not want /usr to be mounted on an LV that belongs to a volume group other than vg00. That is bad juju! I would recommend either adding a disk to vg00 or looking for unused LV's in vg00 that can be canned and those extents freed up in vg00. Then when you have enough free extents you can do an Ignite on the box and adjust the size of your /usr filesystem. Using Ignite will ensure that you have contiguous extents for /usr.
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:30 AM
01-02-2004 03:30 AM
Re: need help extending /usr
looks like I'm toast without redoing vg00.. Darn.. I thought I might be able to span a VG across disks.. Ok.. Thanks guys..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:32 AM
01-02-2004 03:32 AM
Re: need help extending /usr
Three options.
cleanup inside /usr filesystem (if it is possible)
# du -ks /usr | sort -rn | more
add a disk to VG00.
move a filesystem from VG00 to VGXX, or a part from /usr to a new filesystem. example could be /usr/local
# bdf | grep vg00
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:34 AM
01-02-2004 03:34 AM
Re: need help extending /usr
What do you mean span a vg across disks? You can have multiple disks in a vg, but it has to be the entire disk. You can't have a physical volume that has x number of extents belonging to vg00 and y number of extents belonging to vg01. That will not work.
And as far as moving /usr out of vg00, that is possible just not recommended.
Another curiosity question here, how many disks do you currently have in vg00 and how big are they?
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:37 AM
01-02-2004 03:37 AM
Re: need help extending /usr
Two Seagate drives,, I believe the 9gb standards.. I have a RAID with 16 18 gb drives in a subsystem.. I will see if I can allocate an additional disk to vg00..
--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
PV Status available
Total PE 1084
Free PE 1
Autoswitch On
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 1084
Free PE 1
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:41 AM
01-02-2004 03:41 AM
Re: need help extending /usr
Robert-Jan brings up a good point in his #3 scenario, mounting a portion of /usr to another LV. We are an SAP shop and under /usr we have a /usr/sap directory which is required to be considerably larger than /usr roughly 7Gb, so we have it mounted to /vg01/lvol4. That way we don't take up so many extents in vg00.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:47 AM
01-02-2004 03:47 AM
Re: need help extending /usr
May have to change logging file system within informix.. This would probably take care of it..
394285 /usr/informix/logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:48 AM
01-02-2004 03:48 AM
Re: need help extending /usr
Are those disks mirrored? Even so, you should have plenty of room with 9Gb to house your OS. What is using up all the extents in vg00? Do you have an application that is residing there? If so, I would consider breaking that out of vg00 and mounting them on new LV's in a different vg, like Robert-Jan was suggesting.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:51 AM
01-02-2004 03:51 AM
Re: need help extending /usr
they are mirrored,
I did find a stats.log in my
/usr/informix/logs
If there are any Informix propellers in the reading audience can I rotate this pig, off to another filesystem?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:51 AM
01-02-2004 03:51 AM
Re: need help extending /usr
I would look into moving /usr/informix to it's own LV. So that you would have /usr mounted on /vg00/lvol7 and /usr/informix mounted on something like /vgXX/lvolX. That way you take away the stress of having /usr/informix in vg00.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:54 AM
01-02-2004 03:54 AM
Re: need help extending /usr
Thats my thought too now.... Looks like a weekend of work.. Thanks again all..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:56 AM
01-02-2004 03:56 AM
Re: need help extending /usr
http://www.prstech.com/src/rotate_informix_logs.sh.txt
Regards and a good weekend (:-)
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 03:57 AM
01-02-2004 03:57 AM
Re: need help extending /usr
I will leave feedback.. Thanks!!