- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM steps to mount a SAN based snapshot back t...
Operating System - HP-UX
1820649
Members
3348
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-03-2008 07:02 AM
тАО12-03-2008 07:02 AM
Can you confirm or add details to these steps? I seek to present a SAN based LUN copy back to the original HP-UX 11.11 host without upsetting the live/original filesystem. I am working with volume groups that only contain one physical volume and one logical volume.
1. quiesce the app that is accessing the source vxfs filesystem
2. SAN-based snapshot/snapclone of the lone LUN that lives in the volume group that holds the logical volume which contains my filesystem
3. release app back into normal function
4. present new snap LUN back to original host
5. ioscan -f; insf -e
6. since I know LUN # of new LUN, I can figure out the device name(s) <8 paths, so there will be 8 device files; no securepath or other multipathing software is in play; EVA>
7. vgchgid /dev/rdsk/MYNEWLUN
8. mkdir /dev/NEWVG
9. mknod /dev/NEWVG/group c 64 0xNEWNUMBER
10. vgimport /dev/NEWVG /dev/dsk/MYNEWLUN
11. vgchange -a y /dev/NEWVG
12. mkdir /mnt/NEWLV
13. fsck -F vxfs -y /dev/NEWVG/lvol1
14. mount -F vxfs /dev/NEWVG/lvol1 /mnt/NEWLV
1. quiesce the app that is accessing the source vxfs filesystem
2. SAN-based snapshot/snapclone of the lone LUN that lives in the volume group that holds the logical volume which contains my filesystem
3. release app back into normal function
4. present new snap LUN back to original host
5. ioscan -f; insf -e
6. since I know LUN # of new LUN, I can figure out the device name(s) <8 paths, so there will be 8 device files; no securepath or other multipathing software is in play; EVA>
7. vgchgid /dev/rdsk/MYNEWLUN
8. mkdir /dev/NEWVG
9. mknod /dev/NEWVG/group c 64 0xNEWNUMBER
10. vgimport /dev/NEWVG /dev/dsk/MYNEWLUN
11. vgchange -a y /dev/NEWVG
12. mkdir /mnt/NEWLV
13. fsck -F vxfs -y /dev/NEWVG/lvol1
14. mount -F vxfs /dev/NEWVG/lvol1 /mnt/NEWLV
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 07:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 09:39 AM
тАО12-03-2008 09:39 AM
Re: LVM steps to mount a SAN based snapshot back to same host without upsetting original LUN
plan looks ok. But I would recommend activating the BCV copy on a different server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 01:26 AM
тАО12-04-2008 01:26 AM
Re: LVM steps to mount a SAN based snapshot back to same host without upsetting original LUN
The steps should work.
Make sure you vgchgid all disks at the same time (if more than 1 disk).
Regarding point 6: You should get the tool evainfo (or any other id tool from your storage vendor if it's no EVA) to be able to identify the lun without crude assumptions.
Check http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=co-52747-1&prodTypeId=12169&prodSeriesId=471497 !
This is very handy especially if you have more than 1 lun.
Depending on your availability/performance constraints you should consider using a multipath software or upgrade to 11.31.
My 2 cents,
Armin
Make sure you vgchgid all disks at the same time (if more than 1 disk).
Regarding point 6: You should get the tool evainfo (or any other id tool from your storage vendor if it's no EVA) to be able to identify the lun without crude assumptions.
Check http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=co-52747-1&prodTypeId=12169&prodSeriesId=471497 !
This is very handy especially if you have more than 1 lun.
Depending on your availability/performance constraints you should consider using a multipath software or upgrade to 11.31.
My 2 cents,
Armin
And now for something completely different...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP