- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove Multiple Filesystems
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
08-18-2006 01:44 AM
08-18-2006 01:44 AM
Remove Multiple Filesystems
/oracle/MAS /dev/vgmas/home
/oracle/MAS/psoftdata /dev/vgmas/psoft
/oracle/MAS/data9 /dev/vgmas/masdata9
/oracle/MAS/data8 /dev/vgmas/masdata8
/oracle/MAS/data7 /dev/vgmas/masdata7
/oracle/MAS/data6 /dev/vgmas/masdata6
/oracle/MAS/data5 /dev/vgmas/masdata5
/oracle/MAS/data4 /dev/vgmas/masdata4
/oracle/MAS/data3 /dev/vgmas/masdata3
/oracle/MAS/data2 /dev/vgmas/masdata2
/oracle/MAS/data12 /dev/vgmas/masdata12
/oracle/MAS/data11 /dev/vgmas/masdata11
/oracle/MAS/data10 /dev/vgmas/masdata10
/oracle/MAS/data1 /dev/vgmas/masdata1
THanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 01:47 AM
08-18-2006 01:47 AM
Re: Remove Multiple Filesystems
Just umount -a after stop application may be oracle
and vgexport /dev/vgmas
that's it
Regards
nanan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 01:48 AM
08-18-2006 01:48 AM
Re: Remove Multiple Filesystems
Shut down oracle
umount the filesystems.
lvremove /oracle/MAS
etc...
Done.
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
08-18-2006 01:53 AM
08-18-2006 01:53 AM
Re: Remove Multiple Filesystems
for i in `cat files.txt`
do
echo "removing file system $i "
lvremove $i
done
put all logical volume information in files.txt file. also you need to unmount them before you kick off script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 01:55 AM
08-18-2006 01:55 AM
Re: Remove Multiple Filesystems
Joe,
The vgexport will only work correctly if the lvols you want to remove are the ONLY ones on the vg, otherwise you will be taking some data offline that you want left online
also vgexport does not remove the structures, a vgimport will restore the data.
lvremove is the better way to remove only the lv's you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 04:06 AM
08-18-2006 04:06 AM
Re: Remove Multiple Filesystems
I think you meant /dev/vgmas/home. /oracle/MAS is the mount point.
Best Regards
Joe