- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing FS and space re-allocation
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
Discussions
Discussions
Forums
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
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
тАО02-10-2007 12:05 AM
тАО02-10-2007 12:05 AM
Planning to remove two filesystems/LVs each having one PV and residing on same VG (VG1). Out of two PVs one need to be tranfer to another VG (VG2) while the remaining one will be distributed among multiple LVs within the same VG (VG1).
All VGs are part of a cluster.
Each PV is of 150GB (/dev/dsk/c0t0d1 & /dev/dsk/c0t0d2).
We assume following sequence of steps will be required:
1) lvremove /dev/vg1/lv4 (fs4)
2) lvremove /dev/vg1/lv5 (fs5)
3) vgreduce /dev/vg1 /dev/dsk/c0t0d1
4) vgextend /dev/vg2 /dev/dsk/c0t0d1
5) lvextend -L 50000 /dev/vg1/lv1 /dev/dsk/c0t0d2
6) fsadm -F vxfs -b 51200000 /fs1
7) lvextend -L 50000 /dev/vg1/lv2 /dev/dsk/c0t0d2
8) fsadm -F vxfs -b 51200000 /fs2
9) lvextend -L 50000 /dev/vg1/lv3 /dev/dsk/c0t0d2
10) fsadm -F vxfs -b 51200000 /fs3
11) lvextend -L 150000 /dev/vg2/lv1 /dev/dsk/c0t0d1
12) fsadm -F vxfs /fs6
13) vgimport # Node 1
14) vgexport # Node 2
Please confirm if all the above steps are correct and in proper sequence.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2007 04:30 AM
тАО02-10-2007 04:30 AM
SolutionYour plan looks reasonable up until steps 13 and 14.
You need to specifiy a volume group to export on step 14.
If any of this data is critical, back it up before you start.
If you run into any error messages post them up here and you'll get good help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2007 05:33 AM
тАО02-10-2007 05:33 AM
Re: Removing FS and space re-allocation
According to me your plan is good and do not need any changes leaving point no 13& 14.
While importing vg's give vg name also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2007 06:43 PM
тАО02-10-2007 06:43 PM
Re: Removing FS and space re-allocation
I will let you the outcome as soon as I perform all these steps.
BTW, how can I check the FS type if it is not listed in "/etc/fstab" file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2007 06:51 PM
тАО02-10-2007 06:51 PM
Re: Removing FS and space re-allocation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2007 06:04 PM
тАО02-11-2007 06:04 PM
Re: Removing FS and space re-allocation
I think we will not be able to perform these steps in next few days. Anyway, I have distributed the points.