System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

remove the partition from the second mirroring disk

 
Highlighted
Regular Advisor

remove the partition from the second mirroring disk

Hi,

 

I know how to use the idisk command to partition the second mirroring disk on Itanium.

but how can i remove the partition from the second mirroring disk

i use the idisk -R command but stil all 3 partitions available.

 

 

disk 2 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t2d0 /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s1 /dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s1 /dev/rdsk/c0t2d0s3


Thanks

11 REPLIES 11
Highlighted
Regular Advisor

Re: remove the partition from the second mirroring disk

Hi,

is there anybody to help me ?

Thanks
Highlighted
Honored Contributor

Re: remove the partition from the second mirroring disk

If you do not specify the '-w' option with idisk, it operates in read-only mode, making no actual changes at all.

 

The required command (as documented in HP's "When good disks go bad" PDF) is:

idisk -Rw /dev/rdsk/c0t2d0

 After this, the partition configuration will be gone, but the device nodes referring to the partitions will remain.

To make the device nodes reflect the new state of the disk, you'll need another command:

insf -e -H 0/1/1/0.0.0.2.0

 

MK
Highlighted
Regular Advisor

Re: remove the partition from the second mirroring disk

Hi,

 

i run the below command but i still see the disk partition

 

>>>>>>>>>>>>>>>>

The required command (as documented in HP's "When good disks go bad" PDF) is:

idisk -Rw /dev/rdsk/c0t2d0

After this, the partition configuration will be gone, but the device nodes referring to the partitions will remain.

To make the device nodes reflect the new state of the disk, you'll need another command:

insf -e -H 0/1/1/0.0.0.2.0

 <<<<<<<<<<<<<<<<<

 

 # idisk -Rw /dev/rdsk/c4t1d0
idisk: Write mode requires description file
idisk version: 1.44
********************** WARNING ***********************
If you continue you will destroy all partition data on this disk.
Do you wish to continue(yes/no)? yes

 

# insf -e -H 0/1/1/0.0.0.1.0
insf: Installing special files for sdisk instance 6 address 0/1/1/0.0.0.1.0

 


# ioscan -funC disk


Class     I  H/W Path     Driver S/W State   H/W Type     Description
=====================================================================
disk      7  0/1/1/0.0.0.0.0      sdisk   CLAIMED     DEVICE       HP      DG146ABAB4
                         /dev/dsk/c4t0d0     /dev/dsk/c4t0d0s1   /dev/dsk/c4t0d0s2   /dev/dsk/c4t0d0s3   /dev/rdsk/c4t0d0    /dev/rdsk/c4t0d0s1  /dev/rdsk/c4t0d0s2  /dev/rdsk/c4t0d0s3
disk      6  0/1/1/0.0.0.1.0      sdisk   CLAIMED     DEVICE       HP      DG146ABAB4
                         /dev/dsk/c4t1d0     /dev/dsk/c4t1d0s1   /dev/dsk/c4t1d0s2   /dev/dsk/c4t1d0s3   /dev/rdsk/c4t1d0    /dev/rdsk/c4t1d0s1  /dev/rdsk/c4t1d0s2  /dev/rdsk/c4t1d0s3

 

#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/disk/disk12_p2 -- Boot Disk
Boot: lvol1     on:     /dev/disk/disk12_p2
Root: lvol3     on:     /dev/disk/disk12_p2
Swap: lvol2     on:     /dev/disk/disk12_p2
Dump: lvol2     on:     /dev/disk/disk12_p2, 0

 

 

Your support please, Thanks

Highlighted
Acclaimed Contributor

Re: remove the partition from the second mirroring disk

Use "rmsf -x" to remove stale device files.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: remove the partition from the second mirroring disk

Hi,

still the partition available

# rmsf -x

#i oscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 7 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t0d0 /dev/dsk/c4t0d0s1 /dev/dsk/c4t0d0s2 /dev/dsk/c4t0d0s3 /dev/rdsk/c4t0d0 /dev/rdsk/c4t0d0s1 /dev/rdsk/c4t0d0s2 /dev/rdsk/c4t0d0s3
disk 6 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t1d0 /dev/dsk/c4t1d0s1 /dev/dsk/c4t1d0s2 /dev/dsk/c4t1d0s3 /dev/rdsk/c4t1d0 /dev/rdsk/c4t1d0s1 /dev/rdsk/c4t1d0s2 /dev/rdsk/c4t1d0s3


# rmsf -x -H 0/1/1/0.0.0.1.0

#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 7 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t0d0 /dev/dsk/c4t0d0s1 /dev/dsk/c4t0d0s2 /dev/dsk/c4t0d0s3 /dev/rdsk/c4t0d0 /dev/rdsk/c4t0d0s1 /dev/rdsk/c4t0d0s2 /dev/rdsk/c4t0d0s3
disk 6 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t1d0 /dev/dsk/c4t1d0s1 /dev/dsk/c4t1d0s2 /dev/dsk/c4t1d0s3 /dev/rdsk/c4t1d0 /dev/rdsk/c4t1d0s1 /dev/rdsk/c4t1d0s2 /dev/rdsk/c4t1d0s3


Thanks
Highlighted
Acclaimed Contributor

Re: remove the partition from the second mirroring disk

First I would check if the partitions are really deleted:

 

# idisk /dev/rdsk/c4t1d0

 

then remove the special files

 

# rmsf -H 0/1/1/0.0.0.1.0

 

then do an "ioscan" again.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: remove the partition from the second mirroring disk

Hi,

 

# idisk /dev/rdsk/c4t1d0


idisk version: 1.44
idisk: Primary partition information not valid.
Run idisk with -r option to restore.


# rmsf -H 0/1/1/0.0.0.1.0


# ioscan -funC disk


Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 7 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t0d0 /dev/dsk/c4t0d0s1 /dev/dsk/c4t0d0s2 /dev/dsk/c4t0d0s3 /dev/rdsk/c4t0d0 /dev/rdsk/c4t0d0s1 /dev/rdsk/c4t0d0s2 /dev/rdsk/c4t0d0s3
disk 8 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 3 0/4/1/0.2.5.0.0.0.0 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 4 0/4/1/0.2.5.0.0.0.1 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d1 /dev/rdsk/c3t0d1
disk 5 0/4/1/0.2.5.0.0.0.2 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d2 /dev/rdsk/c3t0d2
disk 0 0/4/1/0.2.6.0.0.0.0 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/4/1/0.2.6.0.0.0.1 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1
disk 2 0/4/1/0.2.6.0.0.0.2 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d2 /dev/rdsk/c1t0d2
disk 15 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0

 

the full disk it's removed now, not only the partition

 

Thanks

Highlighted
Acclaimed Contributor

Re: remove the partition from the second mirroring disk

Is this the same system?

 

http://h30499.www3.hp.com/t5/System-Administration/rx2660-bad-disk/m-p/5559539#M478567

 

 

Did you replace the disk meanwhile?

 

A new disk will get a new device file!

 

 

c4t1d0 becomes c4t2d0 after replacement!

 

 

Please clarify if the disk is replaced.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Regular Advisor

Re: remove the partition from the second mirroring disk

Hi,

 

Is this the same system?

http://h30499.www3.hp.com/t5/System-Administration/rx2660-bad-disk/m-p/5559539#M478567

 

No, this other server with 2 disk only, one bad disk.

 

Did you replace the disk meanwhile?

 

No i don't replace any disk

 

A new disk will get a new device file!

c4t1d0 becomes c4t2d0 after replacement!

Please clarify if the disk is replaced.

 

No this system has 3 disk, after i execute the # rmsf -H 0/1/1/0.0.0.1.0 command the disk disappeared and not available on ioscan, but i think after reboot will appear where i try with insf -e but nothing.

 

this output of ioscan before run the # rmsf -H 0/1/1/0.0.0.1.0 command.

 

#ioscan -funC disk


Class I H/W Path Driver S/W State H/W Type Description
=====================================================================

disk 7 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t0d0 /dev/dsk/c4t0d0s1 /dev/dsk/c4t0d0s2 /dev/dsk/c4t0d0s3 /dev/rdsk/c4t0d0 /dev/rdsk/c4t0d0s1 /dev/rdsk/c4t0d0s2 /dev/rdsk/c4t0d0s3

disk 6 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t1d0 /dev/dsk/c4t1d0s1 /dev/dsk/c4t1d0s2 /dev/dsk/c4t1d0s3 /dev/rdsk/c4t1d0 /dev/rdsk/c4t1d0s1 /dev/rdsk/c4t1d0s2 /dev/rdsk/c4t1d0s3

disk 8 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 3 0/4/1/0.2.5.0.0.0.0 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 4 0/4/1/0.2.5.0.0.0.1 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d1 /dev/rdsk/c3t0d1
disk 5 0/4/1/0.2.5.0.0.0.2 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c3t0d2 /dev/rdsk/c3t0d2
disk 0 0/4/1/0.2.6.0.0.0.0 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/4/1/0.2.6.0.0.0.1 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1
disk 2 0/4/1/0.2.6.0.0.0.2 sdisk CLAIMED DEVICE DGC CX4-480WDR5
/dev/dsk/c1t0d2 /dev/rdsk/c1t0d2
disk 15 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 17 255/1/0.1.0 sdisk CLAIMED DEVICE HP Virtual CD-ROM
/dev/dsk/c5t1d0 /dev/rdsk/c5t1d0

 

Thanks