Operating System - HP-UX
1751693 Members
4832 Online
108781 Solutions
New Discussion юеВ

Re: 2 internal disks , one has operating system , want other to be a mirror as well

 
SOLVED
Go to solution
The Gunners
Regular Advisor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Hi again Mel,
Yes it did complete successfully (as in no error returned) Have re-run it to just confirm

dubhptst: # pvcreate -B /dev/rdsk/c2t0d0
dubhptst: #
Lijeesh N G_1
Respected Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Hi,

1) Hi Everyone / Li Jeesh NG , just going with your advice as a starter. came upon this error at the beginning
dubhptst: # pvcreate -B /dev/rdsk/c2t0d0
dubhptst: # vgextend /dev/vg00 /dev/rdsk/c2t0d0
vgextend: Physical volume "/dev/rdsk/c2t0d0" is not a block special file.
Usage: vgextend
==>You should use block device file name,
ie, #vgextend /dev/vg00 /dev/dsk/c2t0d0

2) Just tried that - Hmmm , I have a feeling this second disk may have been used before and this is why I am getting the following
dubhptst: # vgextend /dev/vg00 /dev/dsk/c2t0d0
vgextend: Couldn't open physical volume "/dev/dsk/c2t0d0":
Device busy
==>What output you got while running pvcreate -B /dev/rdsk/c2t0d0 ??

Regards,
LIJEESH N G
Mel Burslan
Honored Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

By running it and completing the command successfully, you have obliterated whatever was previously on this volume. If you run

vgextend /dev/vg00 /dev/dsk/c2t0d0

do you still get the same error ?
________________________________
UNIX because I majored in cryptology...
Lijeesh N G_1
Respected Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Try with #pvcreate -fB /dev/rdsk/c2t0d0
The Gunners
Regular Advisor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Hi Mel/Lijeesh,

Tried the commands as suggested and still the same , v strange

dubhptst: # vgextend /dev/vg00 /dev/dsk/c2t0d0
vgextend: Couldn't open physical volume "/dev/dsk/c2t0d0":
Device busy
dubhptst: # pvcreate -fB /dev/rdsk/c2t0d0
dubhptst: # vgextend /dev/vg00 /dev/dsk/c2t0d0
vgextend: Couldn't open physical volume "/dev/dsk/c2t0d0":
Device busy

Mel Burslan
Honored Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

This is really strange. Just out of curiosity, could you check and post the output of following commands:

vgdisplay -v vg00
ioscan -fnC disk
fuser -c /dev/dsk/c2t0d0
fuser -f /dev/dsk/c2t0d0

________________________________
UNIX because I majored in cryptology...
Lijeesh N G_1
Respected Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Also,

#diskinfo /dev/rdsk/c2t0d0
#strings /etc/lvmtab
#dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=1024 count=50
The Gunners
Regular Advisor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Hi again , here attached is the about from both sets of commands
Lijeesh N G_1
Respected Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

dubhptst: # diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 0 Kbytes <<<======Size is "0"******
bytes per sector: 0


I think issue with Hard disk.
Mel Burslan
Honored Contributor

Re: 2 internal disks , one has operating system , want other to be a mirror as well

Davey,

look at the size of this disk reported by diskinfo command below:

dubhptst: # diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 0 Kbytes
bytes per sector: 0

there is something wrong with this disk. it needs to report 74GB like ioscan says it is. You need to contact hardware support and have it checked/replaced ASAP.

________________________________
UNIX because I majored in cryptology...