- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removal of 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
12-14-2005 05:21 AM
12-14-2005 05:21 AM
I need to remove some file system,
i have online JFS.
and I need to remove the associated Volume Groups as well.
suppose one file system is :
/dev/vg05/lvol3 51216384 17462710 31644076 36% /oracle/bunty
thanks
bunty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 05:26 AM
12-14-2005 05:26 AM
Re: Removal of file system
Unmount all Lvs of that VG.
VGchange -a n /dev/vg05
vgexport vg05
Cheers ...007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 05:26 AM
12-14-2005 05:26 AM
Solutionumount /oracle/bunty
lvremove /dev/vg05/lvol3
You don't need online JFS for this job, the base OS is fine.
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
12-14-2005 05:33 AM
12-14-2005 05:33 AM
Re: Removal of file system
umount /oracle/bunty
vi /etc/fstab and remove the line containing the file system.
rmdir /oracle/bunty
When all of the filesystems have been unmounted.
vgchange -a n /dev/vg05
vgexport /dev/vg05
This will remove all the LVM entries on the
host but it will leave the data intact on the disk(s) should you wish to transfer them to another host.
If you want to wipe out the data for security concerns then before doing the vgchange above, do a vgdisplay -v /dev/vg05 and note the physical disks associated with this VG.
e.g. /dev/dsk/c1t5d0 & /dev/dsk/c2t4d0
As a final step use the CHARACTER devices equivalent to the block devices above;
e.g. /dev/rdsk/c1t5d0 & /dev/rdsk/c2t4d0 as the output of a dd command.
dd if=/dev/zero bs=64k of=/dev/rdsk/c1t5d0
This will write NUL's to every byte on the disk to wipe out data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 01:02 PM
12-14-2005 01:02 PM
Re: Removal of file system
You can perform the following steps ;
1. # umount /oracle/bunty
(This comman will unmount your File System)
2. # vgchange -a n vg05
3. # vgexport vg05
(These two commands will remove the Volume Group with name vg05)
You have to be carefull if there are any other File Systems associated with VG05 Volume Group.
Cheers,
Paul