- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk crash - steps to recover
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
09-29-2003 05:12 AM
09-29-2003 05:12 AM
Some info:
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 2/0/1.5.0 sdisk CLAIMED DEVICE HP C3325A
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 2/0/1.6.0 sdisk CLAIMED DEVICE HP C3325A
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
Believe 2/0/1.5.0 is the H/W Path for the new disk. It is associated with
/dev/dsk/c0t5d0 which was /anna01 in /etc/fstab.
One more note:
When running SAM for 'disk devices', I get the following error/warning:
SAM was unable to determine the disk drive model of the disk drive attached to your system hardware path 2/0/1.5.0. This device will be ignored.
That is all. Thanks for your help.
Slim Jim Green
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 05:19 AM
09-29-2003 05:19 AM
Re: Disk crash - steps to recover
Got to this URL:
http://www1.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16
Then, click on "Chapter 16: LVM", and click again on "open the LVM chapter". Once you finally get in, you'll be presented with a PDF document - go to the section titled "Replacing a Failed LVM Disk". There is a "Disk Replacement Flowchart" there that should guide you through the necessary steps.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 05:23 AM
09-29-2003 05:23 AM
Re: Disk crash - steps to recover
#!/usr/bin/sh
# /dev/vg01/rsag
echo "A files system check on parameter 1 is commencing\n"
fsck -F vxfs -o full -y $1
Thats a script and a starting point.
That probably won't work.
You will need to run pvcreate -f /dev/dsk
To get that disk prepared.
You may need to run vgextend to put the volume group bak on that disk.
Going down this route, you'll next need to run:
lvcreate
lvextend
newfs
Then break out the backup tape and restore based on what kind of tape it is.
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
09-29-2003 05:31 AM
09-29-2003 05:31 AM
Re: Disk crash - steps to recover
Any other help from you would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 05:42 AM
09-29-2003 05:42 AM
Re: Disk crash - steps to recover
Here's the "Cliff Notes" version:
Restore the LVM configuration onto the replaced disk:
# vgcfgrestore -n /dev/rdsk/c0tXd0
Reactivate the volume group:
# vgchange -a y
Recreate the file systems:
# newfs -F vxfs /dev/vg0X/rlvolX
Then mount the filesystems and carry on.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:23 AM
09-29-2003 06:23 AM
Re: Disk crash - steps to recover
And I don't believe /anna01 is/was associated with a volume group. Not part of vg00 & doesn't appear to be vg01, vg02, etc.
Restore the LVM configuration onto the replaced disk:
# vgcfgrestore -n /dev/rdsk/c0tXd0
SPECIFICALLY:
# vgcfgrestore -n /dev/rdsk/c0t5d0
IF NOT PART OF ANY VG, THEN WHAT IS THIS DOING FOR US???
Reactivate the volume group:
# vgchange -a y
Recreate the file systems:
# newfs -F vxfs /dev/vg0X/rlvolX
I WOULD THINK THIS SHOULD BE:
# newfs -F vxfs /dev/rdsk/c0t5d0 OR
# newfs -F vxfs /dev/dsk/c0t5d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:33 AM
09-29-2003 06:33 AM
Re: Disk crash - steps to recover
If it's not LVM, then I guess the only thing you need to do is re-create the file system with the newfs command (I'm assuming this must have been a mounted file system because you referred to it as /anna01), then run your restore.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:35 AM
09-29-2003 06:35 AM
Re: Disk crash - steps to recover
Take a look at /etc/fstab (maybe you could post the contents here). That should tell us all about /anna01.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:36 AM
09-29-2003 06:36 AM
Re: Disk crash - steps to recover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:48 AM
09-29-2003 06:48 AM
Re: Disk crash - steps to recover
# pg fstab
/dev/vg00/lvol3 / hfs defaults 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /opt hfs defaults 0 2
/dev/vg00/lvol5 /tmp hfs defaults 0 2
/dev/vg00/lvol6 /usr hfs defaults 0 2
/dev/vg00/lvol7 /usr3 hfs defaults 0 2
/dev/vg00/lvol8 /var hfs defaults 0 2
/dev/dsk/c0t5d0 /anna01 hfs rw,suid 0 1
From an ADP 101 point of view, I'd assume they'd need to do some form of formatting their new disk, create the file system /anna01 and then do the restore.
Thanks for all your help.
Slim Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 06:53 AM
09-29-2003 06:53 AM
SolutionIf that /etc/fstab is close to correct, then it's a non-LVM disk. The newfs command "newfs /dev/rdsk/c0t5d0" will take care of formatting. The simply run the "mount -a" command, ignoring any "already mounted" errors, and you should be ready to restore.
Pete
Pete