1827224 Members
2211 Online
109716 Solutions
New Discussion

Re: bdf i/o error

 
piltrafa
New Member

bdf i/o error

Hi everybody, I'm new on hpux and I did something wrong trying to delete a vdisk from an eva400.
Now, whe I run bdf gives me with that specific device (/dev/vg09/lvol1) i/o error.
I dont need the information there, in fact I was trying to delete it, with no success.
vgscan could solve the problem, but man page says
"run only in catastrophic error.." so I'm a little bit afraid to do something nasty to the other vg drives.

would you give me some advise, please?
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: bdf i/o error

This is a lot more complicated than bdf. You have removed a disk from a volume group that has data stored on it. vgscan is only going to sync up with what is already there. It can't undo the missing disk. You have to restore the missing disk, and if that's not possible, you'll have to identify the volume group that contained the missing disk, unmount any filesystems that are affected by this missing disk and then remove the logical volumes that were on this disk. Naturally, all the data on those filesystems will be lost. Once the lvols are removed, you can then remove the disk from the volume group and things will be stable (at least, no more I/O errors on the console, user screens and in syslog).

Repairing all this will require a number of steps depending on what needs to be restored.


Bill Hassell, sysadmin
piltrafa
New Member

Re: bdf i/o error

ok, got it, I will follow those steps. Cause I dont need the information on the missing disk it would be safe to delete the logical disks.

Thanks.