- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vg removed ... files still there
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
02-08-2004 08:31 AM
02-08-2004 08:31 AM
I have a volume group which I removed using SAM. However the configuration files still exist. I mean /dev/vg#.
Can I simply manually remove these files?
Regards
-Alvi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 08:34 AM
02-08-2004 08:34 AM
Re: vg removed ... files still there
Seems you had a few goodies hidden in the mount folder. Depending on what fs we're talking about its probably okay to rm the files.
Would be careful with /etc /usr /var things like that.
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-08-2004 09:16 AM
02-08-2004 09:16 AM
Re: vg removed ... files still there
Have a look at
/var/sam/log/samlog
When you remove a volume group with sam, it will unmount the logical volume, remove it then vgremove the volume group. Following that it will remove the group file within dir /dev/vg# and then the corresponding directory
Your answer is yes, as this is what sam actually does
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 02:56 PM
02-08-2004 02:56 PM
Re: vg removed ... files still there
If you are sure that your VG is not there anymore (by doing vgdisplay vgxx and 'strings /etc/lvmtab') then you can safely remove these files. I would suggest teh following steps to confirm the non-existence of the VG by
#vgchange -a y vgxx
You should get "
volume group does not exist" etc.,
If it is successful or gives some other error than the above, then your vgremove operation was not successful through SAM. IN this case, find all the logical volumes that are active and unmount them. If you are using raw devices, make sure they are not accessed by using "fuser -cu /dev/vgxx/rlvol*" command. Once it is done, then you can manually remove the vg by using 'vgremove vgxx' command.
-Sri
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 09:41 PM