- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remove FS
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
тАО10-26-2009 07:45 AM
тАО10-26-2009 07:45 AM
Remove FS
We have a 4 node hp-ux cluster running hp-ux 11v2. I need to remove few FS from one volume group. Can anyone give me the steps to remove the FS. Do I need to stop the packages.
Thanks in Advance,
Mani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 09:01 AM
тАО10-26-2009 09:01 AM
Re: Remove FS
The answer is, it depends.
Steps:
1) umount /filesystemname
2) lvremove logical_volume_name
Pretty simple.
You don't need to stop the packages unless the packages run on the volume group you are playing with.
If this involves shared storage for a package, you will need to stop the package.
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
тАО10-26-2009 06:17 PM
тАО10-26-2009 06:17 PM
Re: Remove FS
1)umount FS
2)remove lv from lvremove
3)edit pkg control file, remove reference to this FS
4)copy the control file to all the other nodes.
Thats all.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 06:27 PM
тАО10-26-2009 06:27 PM
Re: Remove FS
# lvremove /dev/vg01/lvol1
Edit the package control file and remove the reference and its file systems
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 06:29 PM
тАО10-26-2009 06:29 PM
Re: Remove FS
Here are the steps:
1. Stop proceses for that filesystem, (want to remove).
2. unmount The file system . ex: #umount /fs00x
3. remove the LV: # lvremove /dev/vg_xx/lvolyy
4. Do vgexport /import of the vg in FO node , to reflect the change that one lv is removed.
5. Update the pkg control file.
( /etc/cmcluster/pkg/pkg.cntl )
- In package config file remove this LV & FS entry.
- Copy the pkg control file to FO_node.
6. Remove the mount point directory if NA. Done.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 06:35 PM
тАО10-26-2009 06:35 PM
Re: Remove FS
Correction:
#4. vgexport/import is not required.
- Also remember if you have any user configured with this flesystem as home directory, make sure to update user home directory with a valid FS ,as this FS would not be available any more. Applicable to FO_node as well.
Ex: to find any user associated with FS fs00x
# grep -w fs00x /etc/passwd
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 06:43 PM
тАО10-26-2009 06:43 PM
Re: Remove FS
Remember #4 needed.
When ever you add new lv or remove any lv in SG , vgexport/import requied to update the /dev/vgxx/lvolxx and rlvolxx in FO_node. Otherwise vg will not be activated/deactiavted in next package start.
- Do I need to stop the packages.
No.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2009 11:26 PM
тАО10-27-2009 11:26 PM
Re: Remove FS
You dont need to stop the package. Just d the following steps:
1. Stop proceses for that filesystem which you want to remove.
2. unmount file system. i.e.
#umount /fs00
3. remove the LV:
# lvremove /dev/vg_00/lvol00
4. Do vgexport /import of the vg in FO node, to reflect the change that one lv is removed.
5. Update the pkg control file.
i.e. /etc/cmcluster/pkg/pkg.cntl
6. In package config file remove this LV & FS entry.
7. Copy the pkg control file to FO_node.
Rgds-Kranti