- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reducing lvol in a MC/SG cluster
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
03-17-2004 07:38 PM
03-17-2004 07:38 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:43 PM
03-17-2004 07:43 PM
Re: Reducing lvol in a MC/SG cluster
Please check this:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=109782
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:44 PM
03-17-2004 07:44 PM
Re: Reducing lvol in a MC/SG cluster
Just make sure you have reduced the fileystem with "fsadm -b
You don't need to re-export the map file to the other nodes.
If you are going to remove a disk from the volume group, you need to "vgexport -m mapfile -p -s vgXX" and then copy the mapfile to all the other nodes and do "vgimport -m mapfile -s vgXX"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:03 PM
03-17-2004 08:03 PM
Re: Reducing lvol in a MC/SG cluster
umount /util
fsadm -F vxfs -b 500 /util
I get the following message:
/util is not the root inode of a vxfs file sytem.
Why am I getting this.
There are only 1 logical volume in the vg.(/dev/vgutil/lvutil). This is being tested on a non SG system prior to doing the actual lvreduce in the cluster.
Current size is 1023.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:03 PM
03-17-2004 08:03 PM
Re: Reducing lvol in a MC/SG cluster
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:04 PM
03-17-2004 08:04 PM
Re: Reducing lvol in a MC/SG cluster
fsadm -F vxfs -b 500 /dev/vgutil/lvutil
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:05 PM
03-17-2004 08:05 PM
Re: Reducing lvol in a MC/SG cluster
If you planning to reduce the lvol then,
mount the filesystem
reduce the filesystem
reduce the lvol
remount filesystem
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:07 PM
03-17-2004 08:07 PM
Re: Reducing lvol in a MC/SG cluster
If you do have OnlineJFS, then you need to have the filesystem mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:15 PM
03-17-2004 08:15 PM
Re: Reducing lvol in a MC/SG cluster
Fsadm is online so the filesystem must be mounted like others have mentioned. I like to add that it is good practice to make a full backup before reducing the filesystem. Most of the times it works fine, but not always!
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:47 PM
03-17-2004 08:47 PM
Re: Reducing lvol in a MC/SG cluster
fsadm -F vxfs -b 2000000 /util
umount /util
lvreduce -L 2000 /dev/vgutil/lvutil
fsck -F vxfs -o full /dev/vgutil/rlvutil
and mount -
All is OK - files are still accessable.
Thanks to all for your assistance. Now for the production system, tonight after backups!
If there are anything additional, will be much appreciated - thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:51 PM
03-17-2004 08:51 PM
Solutionfsadm -F vxfs -b 20480M /mountpoint
This wil give you a real 20GB filesystem size.