Re: raw devices - general questions
Posted in 1996
In article <328080BC.4984@mitre.org>, Peter Sylvester <peters@mitre.org> writes > >> -- >> David Williams > >Am I missing something here? >Why not just use the format command to partition the disk into (3) The format command does not exist on all versions of UNIX. Eg. HP-UX does not have it. Instead you use lvcreate,lvgroup,lvextend etc. The exact commands vary across platforms. Using the Logical Volume Manager that is normally supplied with the Operating System means you use a simplier front end shell with does all the calculations for you. E.g. It allow you to specify partitions sizes in Mb rather than cylinders and does the neccessary calculations for you. Also it stops you from creating overlapping partitions as a recent client of mine did using the format command on Solaris 2.5 a couple of months ago!. >partitions. The first one is a single track to reserve space for the >disk lable data, the other (2) split up the rest, into just under 2GB A single track is not always enough - depends upon the OS. >each. Create (2) chuncks, each of which references the raw device file >for each partition (slices). The offsets will be zero for each. Each slice also contains a header. On Solaris 2.5 this is 8K. Also not all versions of UNIX support 'slices'. Again the mention of slices sounds like your operating system is SunOs/Solaris. >I havn't tried it, but I would think it should work. -- David Williams