Operating System - Tru64 Unix
1752577 Members
4239 Online
108788 Solutions
New Discussion юеВ

How to use c partition as not whole disk

 
SOLVED
Go to solution
mophe
New Member

How to use c partition as not whole disk

Hi:
I see someone disklabel like this:
8 partitions:
# size offset fstype [fsize bsize cpg] # NOTE: values not exact
a: 8388608 0 unused 0 0 # (Cyl. 0 - 1651*)
b: 8388608 8388608 unused 0 0 # (Cyl. 1651*- 3302*)
c: 8388608 16777216 unused 0 0 # (Cyl. 3302*- 4953*)
d: 8388608 25165824 unused 0 0 # (Cyl. 4953*- 6605*)
e: 8388608 33554432 unused 0 0 # (Cyl. 6605*- 8256*)
f: 8388608 41943040 unused 0 0 # (Cyl. 8256*- 9907*)
g: 8388608 50331648 unused 0 0 # (Cyl. 9907*- 11559*)
h: 12376059 58720256 unused 0 0 # (Cyl. 11559*- 13995*)

How can him do that?
when i use disklabel to edit partition table:
disklable -e
then edit table like this (for example disk3c)
I get the fllow error messages:
disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Use alternate partition
How can i use C paritition as a normal partition like other( a,b,d,e,f...)

Or,how can i dirver a disk to eight same size partition?
6 REPLIES 6
Venkatesh BL
Honored Contributor

Re: How to use c partition as not whole disk

The 'C' partition always represents the whole disk size. So, I don't think you can manipulate that. May be you could manage 7 partitions of equal sizes (excluding 'C').
Steven Schweda
Honored Contributor

Re: How to use c partition as not whole disk

And _why_ do you want to partition the disk
this way?
Hein van den Heuvel
Honored Contributor

Re: How to use c partition as not whole disk

Please consider LSM (man volintro) for 'odd' partitioning requirements. It can nicely provide a 'virtual' device between the application and the physical device(s).

fwiw,
Hein van den Heuvel
Pieter 't Hart
Honored Contributor
Solution

Re: How to use c partition as not whole disk

>>> Open partition would move or shrink
apearently one of these partitions is used in some way. (LSM ? quorum?)
can you post the original disklabel ?

Try modifying one partition at a time to see wich partition is "open".
alternatively use the X-application (diskconfig) to display and manipulate disklabels.
anandganjihal
Advisor

Re: How to use c partition as not whole disk

Pieter 't Hart:

Even if the partitions are UNUSED then also you can see "disklabel: ioctl DIOCSDINFO: Open partition would move or shrink Use alternate partition" Error message. I belive can partition disk into same size partitions except 'C', but C as not whole disk not possible.
mophe
New Member

Re: How to use c partition as not whole disk

Later i will put the picture of scratch screen.

And someone do it really!