- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extend mirrored /usr file system
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-2011 07:27 AM
01-02-2011 07:27 AM
extend mirrored /usr file system
Need to extend /usr file system. Currently no free PV's are available, and the lvol7 (mounted as /usr) is mirrored. We have raised new lun request for the file system extension.
We wre planning to do following steps. Please suggest any change is required for the below plan.
pvcreate /dev/dsk/
vgextend /dev/vg00 /dev/dsk/
lvextend -L xxxxM /dev/vg00/lvol7
fsadm -F vxfs -b xxxxM /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 08:45 AM
01-02-2011 08:45 AM
Re: extend mirrored /usr file system
So:
pvcreate /dev/rdsk/
pvcreate /dev/rdsk/
vgextend /dev/vg00 /dev/dsk/
vgextend /dev/vg00 /dev/dsk/
lvextend -L xxxxM /dev/vg00/lvol7
fsadm -F vxfs -b xxxxM /usr
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 08:50 AM
01-02-2011 08:50 AM
Re: extend mirrored /usr file system
You can't do this assuming that the default 'strict' option is in force for preventing mirrored copies from residing on the same physical device.
Since you don't have any free extents, you will need to add *two* physical volumes to the volume group so that mirrored copies occupy separate disks. After all, to do otherwise obviates the reason to mirror --- high-availability and recovery of data when one mirror fails.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 08:54 AM
01-02-2011 08:54 AM
Re: extend mirrored /usr file system
Here my only doubt is the lvol7 is mirrored, and the new lun's are 20GB. So when we extend the lvol7, whether the mirror is also establish or any additional steps is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 09:13 AM
01-02-2011 09:13 AM
Re: extend mirrored /usr file system
> So when we extend the lvol7, whether the mirror is also establish or any additional steps is required.
Extending a mirrored logical volume extends the mirrored extents automatically. You also have the option (though in this case it doesn't matter) of specifying the physical volumes to use. Regardless, the allocation policies (e.g. strict) will be enforced.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 08:28 PM
01-02-2011 08:28 PM
Re: extend mirrored /usr file system
From the information above, I understand you would not be able to extend it untill and unless you add two disks to the VG /change the allocation policy -not recommended/remove the mirror- not recommended!!!
I would suggest you to add two LUNs and follow the procedure..
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 09:48 PM
01-02-2011 09:48 PM
Re: extend mirrored /usr file system
#pvcreate /dev/dsk/
#pvcreate /dev/dsk/
#vgextend /dev/vg00 /dev/dsk/
#lvextend -L
#fsadm -F vxfs -b
#bdf /usr