- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mounting HDD from One system to another
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
тАО11-26-2009 04:08 AM
тАО11-26-2009 04:08 AM
Due to Hardware failure one of my server is down.Now I have connected 2 HDDs(It has data in it) from that server to Another live server.Both the servers are HP-UX RX-2620.
when I do "ioscan -fnC disk" ,I get following output for the new disks on the Live Server,
disk 4 0/1/1/0.1.0 sdisk NO_HW DEVICE HP 36.4GST336754LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3
disk 6 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s2
/dev/dsk/c3t2d0s1 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s1 /dev/rdsk/c3t2d0s3
Now please help me in mounting these HDDs as when I try to mount them using following command it gives me error
# mount /dev/dsk/c3t2d0 /newdisk
/dev/dsk/c3t2d0: unrecognized file system
Certainly I am making a mistake somewhere & as it is apparent I am not clear about the basics when it comes to mounting HDDs.
Please let me know what are the steps when it comes to Mount HDDs like this.
Thanks In Advance :-)
D
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 05:41 AM
тАО11-26-2009 05:41 AM
Re: Mounting HDD from One system to another
We CANNOT mount HDD.
Do you want to access the data in them or just want to use them afresh?
Please explain your purpose of mounting these HDDs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 05:47 AM
тАО11-26-2009 05:47 AM
Re: Mounting HDD from One system to another
I want to make the data accessible from those disks.
That is the reason I have removed it from the server which is down & connected them to this server.
Pls Suggest How can I access the data in those Disks.Does it involve creating a Volume Group of these disks to mount them?As I am new to LVM Concept I am unsure of the steps to take as the Data needs to be safegurded.
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 05:53 AM
тАО11-26-2009 05:53 AM
Re: Mounting HDD from One system to another
you can not mount RAW HDD,for mounting HDD---> need to create LV ( before pvcreate + add into vg )& creating File system then only you can mount that LV. (On Sun server you can mount slices separately) But HP you can not mount like that...
But your case,Already running server got down and both disk has data and you want to use that??
If I am not wrong,both the servers are same model, then try to boot from failed machine HDD on running machine for that you need to remove it's own disks(for safety/identification).It is risk one.(make sure already datas backed up)
hope you are unerstand? ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:03 AM
тАО11-26-2009 06:03 AM
SolutionFollowing are the steps to do this. But for these steps you require mapfile of that VG which contained these disks in down server from /etc/lvmconf directory. You must be having the backup of VG00 of the down server (to extract /etc/lvmconf/mapfile_of_VG)
1. Create a new directory for the volume group you are importing:
# mkdir /dev/vgxx
2. Make a group character device file for the group. The 01 in the
device file corresponds to the 01 in the minor number (i.e.,
they should be the same):
# mknod /dev/vgxx/group c 64 0x0N0000
3. # insf -eC disk
4. # ioscan -fnC disk << identify new disks and they should be CLAIMED
5. You need to transfer it to the /etc/lvmconf directory on the new system before you issue this command:
# vgimport -s -v -m
This adds the volume group and its disk to the target system.
The Physical Volumes are scanned to obtain the Volume Group
information and Logical Volume information.
6. Activate the volume group:
# vgchange -a y /dev/vgxx
7. Make a mount point directory in the root directory for each logical
volume in the newly imported volume group:
# mkdir /dir_name1
8. # mount /dev/vgxx/lvol_name /dir_name1
9. Backup the lvm configuration
# vgcfgbackup /dev/vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:16 AM
тАО11-26-2009 06:16 AM
Re: Mounting HDD from One system to another
Thanks for a Quick Response,I really Appreciate it.
I am not sure how to access /etc/lvmconf on that server as it is Already down.
How would I know whether the backup of vg00 is available & if it is there on these two disks ,how can I access it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:20 AM
тАО11-26-2009 06:20 AM
Re: Mounting HDD from One system to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:31 AM
тАО11-26-2009 06:31 AM
Re: Mounting HDD from One system to another
I do have a Tape back up.
I will check that.
Will late you know the Update.
Thanks a Lot for your Assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:34 AM
тАО11-26-2009 06:34 AM
Re: Mounting HDD from One system to another
Try doing above steps as it is, only making changes to STEP 5. Make it:
# vgimport -v /dev/vgxx /dev/dsk/cxtydz
If you don't use mapfile with vgimport, Logical Volume names are created on the target system using the default naming convention lvol## where ## is the Logical Volume minor number. I hope that should not bother you a lot, as you require only the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 06:39 AM
тАО11-26-2009 06:39 AM
Re: Mounting HDD from One system to another
Thats is my only concern.
I just need that data.I wont be backing it up somewhere else but would be accessing it from this new server from now onwards.
So does that mean It is ok if I dont have the mapfile?
If yes,I will try the steps right away instead of searching for that mapfile on the tape?
Thank You!