Operating System - HP-UX
1832973 Members
2685 Online
110048 Solutions
New Discussion

Re: How to remove iDisk partitions on 11.31 IA64 Env...

 
SOLVED
Go to solution
Alzhy
Honored Contributor

How to remove iDisk partitions on 11.31 IA64 Env...

I've a disk that I previously idisk'd. See below. How do I remove the partitions?

disk 9 0/4/2/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c76t4d0 /dev/dsk/c76t4d0s2 /dev/rdsk/c76t4d0 /dev/rdsk/c76t4d0s2
/dev/dsk/c76t4d0s1 /dev/dsk/c76t4d0s3 /dev/rdsk/c76t4d0s1 /dev/rdsk/c76t4d0s3


I've tried idisk -R, what should I do next so ioscan will no longer show s1,s2,s3 or agile p1,p2,p3?

I want to use the disk under VxVM 5.0


Thanks.
Hakuna Matata.
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: How to remove iDisk partitions on 11.31 IA64 Env...

If idisk -R was already run, you need to remove (rmsf) the device files now.

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!   
Robert-Jan Goossens
Honored Contributor

Re: How to remove iDisk partitions on 11.31 IA64 Env...

Hi Nelson,

http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00927634-4

Title: How to remove a boot mirror disk on Integrity / Itanium servers
Document ID: emr_na-c00927634-4

Regards,
Robert-Jan
Alzhy
Honored Contributor

Re: How to remove iDisk partitions on 11.31 IA64 Env...

Thanks y'all.

Simply did an rmsf -H . The ioscan;insf -e and I am back in bizness...


Man... Legacy is supported but there are a lot of holes that a non IA64 experienced admin can get stuck..

Thanks to y'all and the RTFM and Google...
Hakuna Matata.
B V B Kumar
Frequent Advisor

Re: How to remove iDisk partitions on 11.31 IA64 Env...

Hi,

use the following command to detroy all EFI partitions.

#idisk -R /dev/rdsk/c76t4d0

Regards
Kumar
Suraj K Sankari
Honored Contributor

Re: How to remove iDisk partitions on 11.31 IA64 Env...

To Remove all partition information from a disk: idisk -R /dev/rdsk/c1t4d0


-R Remove all EFI partition headers and tables from the disk. This option also destroys the information contained in the MBR (master boot record). The -w option must be specified for information to be written to the disk.

after remove you apply these commands
-p Print the primary EFI partition header and partition tables.

-a Print the alternate EFI partition header and partition tables.
Sandeep_Chaudhary
Trusted Contributor

Re: How to remove iDisk partitions on 11.31 IA64 Env...

This is from man page of idisk

-R Remove all EFI partition headers and tables from the disk.
This option also destroys the information contained in the
MBR (master boot record). The -w option must be specified
for information to be written to the disk.


EXAMPLES

Destroy all partition information on the disk:

idisk -R /dev/rdsk/c1t4d0

Restore partition information from either a good primary or alternate
header or table to the header or table that is bad:

idisk -w -r /dev/rdsk/c1t4d0

so idisk -R /dev/rdsk/cxtxdx should work for u