1851239 Members
2891 Online
104057 Solutions
New Discussion

removing partition

 
SOLVED
Go to solution
Francis Flan
Regular Advisor

removing partition

Hi,

Take a look at the o/p of an ioscan:
disk 5 0/3/0/0/0/0.5.0.16.0.0.2 sdisk CLAIMED DEVICE COMPAQ HSV111 (C)COMPAQ
/dev/dsk/c1t0d5 /dev/dsk/c1t0d5s2 /dev/rdsk/c1t0d5 /dev/rdsk/c1t0d5s2
/dev/dsk/c1t0d5s1 /dev/dsk/ocr1 /dev/rdsk/c1t0d5s1 /dev/rdsk/ocr1

I used mksf to create /dev/[r]dsk/ocr1 path name and idisk to partition the disk.
Can I undo this without destroying all partition information?
(i was experimenting!)


3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: removing partition

Not sure what you really want to do.

Thread title is "removing partition", but you say "... without destroying all partition information ..."

What do you want to remove?

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!   
Francis Flan
Regular Advisor

Re: removing partition

Torsten,sorry youre right, i wasnt very clear.

Id like to remove the dev/rdsk/c1t0d5s2 partition and also remove the device path /dev/rdsk/ocr1
Is this possible or do I have to destroy all parttiion info?
thanks for your help
Torsten.
Acclaimed Contributor
Solution

Re: removing partition

I hope I understand it right now.

See
http://docs.hp.com/en/B2355-60105/idisk.1M.html

examples:

Destroy all partition information on the disk:

idisk -R /dev/rdsk/c1t0d5


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!