Operating System - HP-UX
1819893 Members
2751 Online
109607 Solutions
New Discussion юеВ

Re: recover removed /dev/dsk/c0t6d0 (root disk)

 
SOLVED
Go to solution

recover removed /dev/dsk/c0t6d0 (root disk)

While removing other old files in /dev/dsk, I removed c0t6d0 which is the only PV in my vg00, and my root disk.

/dev/rdsk/c0t6d0 is still present, how can I recover this file without losing my data in vg00 ? Is pvcreate safe, or can I use mknod with options behind ?
6 REPLIES 6
Tom Geudens
Honored Contributor
Solution

Re: recover removed /dev/dsk/c0t6d0 (root disk)

Hi,
insf -e -H

should solve your problem ...

Hope this helps,
Regards,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
Frederic Sevestre
Honored Contributor

Re: recover removed /dev/dsk/c0t6d0 (root disk)

Hi,

With insf -e it should be fine.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Michael Tully
Honored Contributor

Re: recover removed /dev/dsk/c0t6d0 (root disk)

Hi,

as 'root'

# cd /dev
# insf -e

This will fix the problem.

Regards
~Michael~
Anyone for a Mutiny ?

Re: recover removed /dev/dsk/c0t6d0 (root disk)

Thanks a lot it works well now. I've learned something today !!!
Trond Haugen
Honored Contributor

Re: recover removed /dev/dsk/c0t6d0 (root disk)

As mentioned insf will recreate youe dev-file.
DON'T run pvcreate as til will put a new LVMheader on the disk and you WILL loose your vg00.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Magdi KAMAL
Respected Contributor

Re: recover removed /dev/dsk/c0t6d0 (root disk)

Hi,

Install special files command will solve your problem :

#insf -e

Good luck

Magdi