- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: recover data on bad disk
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
01-26-2004 08:23 AM
01-26-2004 08:23 AM
I have a disk failer on an R390. I was told this was not a crital system so there is no mirror or ignite tape. As we speak I am doing a reinstall. But it aprears that there were still some important files in the /home dir and tht it would be great that if they were recovered.
So I was wondering if after the fresh install can I mount the "bad disk" somehow and recover my files from /home?
Thanks
richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 08:28 AM
01-26-2004 08:28 AM
SolutionYou can give this a try.
You could try importing it into a temporary VG after reinstalling the OS. If you are lucky, you may get your data back on few lvols.
#mkdir /dev/vgtemp
#mknod /dev/vgtemp/group c 64 0x0a0000
#vgimport vgtemp /dev/dsk/cxtydz
#vgchange -a y vgtemp
#mkdir /recovery
#mount /dev/vgtemp/lvol1 /recovery
(repeat it on other logical volumes.). It will fail to fsck/mount the logical volumes corresponding to the bad blocks.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 08:29 AM
01-26-2004 08:29 AM
Re: recover data on bad disk
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport vg01 /dev/dsk/c?t?d0
If that step works, you have a good shot at getting what you need. If it doesn't work, you are pretty much out of luck.
Now to continue:
# vgchange -a y vg01
# vgdisplay -v vg01
This will show you what LVs got imported. If you can remember which LV /home was, usually lvol4, you can mount it.
# mkdir /old_home
# mount /dev/vg01/lvol4 /old_home
# ls /old_home/whatever/you_are/looking_for
If you can see your files GREAT! If not, tough luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 08:30 AM
01-26-2004 08:30 AM
Re: recover data on bad disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 08:33 AM
01-26-2004 08:33 AM
Re: recover data on bad disk
If it truly failed, ie... dd couldn't read from it...
then you're out of luck, I'm afraid. That is, unless someone
wants to shell out some big bucks to one of the data recovery companies.
(And, it's a "best effort" sort of thing, generally. No promise)
If the disk just had a couple of bad blocks... or was
fine while cold, but stopped responding after heating up,
then it's "possible" you could vgimport it on the new system,
mount it up and pull the important data from it.
Hard to say, really. For instance... if the bad block(s)
is/are containing $important_file data, then you're hosed.
No harm in giving it a shot, however.