- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk failure...Remove Disk, need help removing...
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
02-25-2008 11:43 AM
02-25-2008 11:43 AM
Disk failure...Remove Disk, need help removing it so disk_em stop reporting
Disk_em is reporting that its critical severity and list a few hardware path that doesn't exisit anymore. I verified that it doesn't show up on ioscan -fnC disk
What is the procedure I have to take to remove this drive out of the system. Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2008 11:54 AM
02-25-2008 11:54 AM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
1. run /etc/opt/resmon/lbin/moncheck to determine the names of instances which should be disabled
2. add/delete/modify instances in the disabled_instances file with an editor of your choice
3. run /etc/opt/resmon/lbin/monconfig
select the "E)nable Monitoring" command
wait for monitoring to be re-enabled
4. select "(C)heck detailed monitoring status", or run moncheck again to verify the changes
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2008 04:56 PM
02-25-2008 04:56 PM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
I went through the document, "When Good Disks Go Bad.pdf" and followed the Removing the disk portion of it. I did the following:
I tried to do a vgreduce but it states that the disk wasn't in the lvmtab file. So I did a
#mv /etc/lvmtab /etc/lvmtab.save
#vgscan -v
is that correct? do I have to do anything else?
when I did the vgscan -v
i get the following:
Creating "/etc/lvmtab"
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00"
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01"
vgscan: Couldn't access the list of physical volumes for volume group "/dev/data"
vgscan: Couldn't access the list of physical volumes for volume group "/dev/data2"
After a couple of minutes, it went by quick and this is all i got:
/dev/vg00
/dev/dsk/c1t2d0
/dev/data2
/dev/dsk/c7t0d0
following physical volumes belong to one volume group. Unable to match these Physical Volumes to a Volume Group. Use the vgimport command to complete the process:
/dev/dsk/c7t2d0
following physical volumes belong to one volume group. Unable to match these Physical Volumes to a Volume Group. Use the vgimport command to complete the process:
/dev/dsk/c7t4d0
The volume group /dev/data was not matched with any Physical Volumes. Scan of physical volumes complete
The damage drive that I removed was /dev/data. Let me know your thoughts. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 03:37 PM
02-27-2008 03:37 PM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
it shows up sdisk NO_HW on the drive that went bad. How do I get that off.
I attach the output of ioscan -fnC disk
The bad disk was the Seagate ST318404LW. I connected the drive a few times as I got the wrong jumper in place so that is why you see the hardware address of
0/9/0/0/0.2.0
0/9/0/0/0.4.0
0/9/0/0/0.6.0 --> This was the orignal harddrive address.
0/9/0/0/0.8.0
0/9/0/0/0.12.0
Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 06:23 PM
02-27-2008 06:23 PM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
To remove the kernel's knowledge of a missing disk, use rmsf as in:
rmsf -aH 0/9/0/0/0.6.0
Remove Special Files (rmsf) is the correct command (not: rm /dev/dsk/....)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2008 07:46 AM
02-29-2008 07:46 AM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
What exactly you want to do?
You want to get rid of the DSF and the volume group and Kernel knowledge about the disk?
or
you want to replace the old disk with the new one?
If you don't want the volume group you must have done vgexport instead of doing vgscan.
"Good disks goes bad.pdf" is helpful only when you have mirror disk. In your case it looks like you have only one disk in the Volume group, and you replaced that with new one. So you cant recover the data of that volume group.
If you already have backup of the data, then put back the old /etc/lvmtab file and run vgcfgrestore command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2008 01:13 AM
03-22-2008 01:13 AM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
rsmf -H then hardware path
ok
then it will remvoe that one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 07:20 AM
03-24-2008 07:20 AM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
rmsf -aH 0/9/0/0/0.6.0 -- It will remove the kernel info .
You can vgexport the same VG and import the file back once you replaced the disk.Then do a vg activation. But be aware that VG will not be available till you do an vgimport followed by activation.
Anyway await for more reply before doing the final step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2008 12:25 AM
03-29-2008 12:25 AM
Re: Disk failure...Remove Disk, need help removing it so disk_em stop reporting
vgchange -a n /dev/vg03--- means volume group deactivate
vgexport -s -m /tmp/vg03map /dev/vg003
mkdir /dev/vg03
mknod /dev/vg03/group c 64 0x050000
vgimport -s -m /tmp/vg03map /dev/vg03
vgchange -a y /dev/vg03