Professional Documents
Culture Documents
« Groups Home
I have solaris 8 installed on my PC. To be exact on my 16 MB harddisk This is a Usenet group - learn more
on which I created a 8MB Solaris partition with Solaris fdisk.
Then I create normal unix partition on this 8Mb partition and install View this group in the new
Solaris. Google Groups
Now I create a second Solaris partition on this harddisk with fdisk.
But how could I use this partition under Solaris? Sponsored links
There are no devices for this second partition.
Reseller Hosting Rs4999yr
Is it unchangable, if I first don't use the whole harddisk for Solaris Unlimited C-panels,Unlimited Space
and later want to add a new fdisk partition? Free Demo,Free setup, 24/7Support
www.webpagehosting.in
Please help me with some hints!
Learn embedded linux $219
Thanks in advance, Hands-on kit teaches fundamentals
of embedded Linux development
Bye www.IntelliMetrix.us
Andreas
See your message here...
In article <90cg1d$m8h...@id-63303.news.dfncis.de>,
fr...@localhost.eng.sun.com (Andreas Schulz) writes:
>Hi all,
>Is it unchangable, if I first don't use the whole harddisk for Solaris
>and later want to add a new fdisk partition?
You can only have a single Solaris fdisk partition per disk.
Actually, this is part of the original PC spec - only a single
fdisk partition of any one type is allowed. Consequently,
Solaris (and any SysV/386 conforming unix) doesn't provide
access to more than one fdisk partition (for unix filesystems
anyway).
--
Andrew Gabriel
Consultant Software Engineer
>...
>There is a hack you can do to make other primary fdisk
>partitions into single ufs filesystems, but it's a bit fiddly.
EG: if your solaris partition is fdisk partition 1, and you want to use
extra space in fdisk partition 2, you would use
newfs /dev/rdsk/c0d0f2
mount /dev/dsk/c0d0f2 /mnt
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
In article <slrn92l7v9.9q4.phil...@shell3.ba.best.com>,
phil...@bolthole.no-bots.com (Philip Brown) writes:
>EG: if your solaris partition is fdisk partition 1, and you want to use
>extra space in fdisk partition 2, you would use
>newfs /dev/rdsk/c0d0f2
>mount /dev/dsk/c0d0f2 /mnt
That just gets you some message like "No VTOC" (assuming you use
the correct device node names). Search back on deja.com for the
full method.
--
Andrew Gabriel
Consultant Software Engineer
…google.com/…/1f974059c14784cb?ln… 2/11
3/3/2011 Can I use a second solaris fdisk partitio…
Consultant Software Engineer
>>EG: if your solaris partition is fdisk partition 1, and you want to use
>>extra space in fdisk partition 2, you would use
>>newfs /dev/rdsk/c0d0f2
>>mount /dev/dsk/c0d0f2 /mnt
>That just gets you some message like "No VTOC" (assuming you use
>the correct device node names).
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
In article <90cg1d$m8h...@ID-63303.news.dfncis.de>,
andr...@schulz-live.de wrote:
> Hi all,
Have you tried rescanning the device tree, especially the disk device
tree? That's usually done with a "touch /reconfigure" followed by a
system reboot. Or if you don't want to reboot, you can try the
following two commands:
drvconfig
disks
These two commands executed one after the other will rescan the device
tree for you.
Yousuf Khan
In article <90cg1d$m8h...@ID-63303.news.dfncis.de>,
andr...@schulz-live.de wrote:
> Is it unchangable, if I first don't use the whole harddisk for Solaris
> and later want to add a new fdisk partition?
http://sunsolve.sun.com/private-cgi/retrieve.pl?doc=infodoc%
2F13142&zone_32=x86%20fdisk
A single hard disk should contain only one active Solaris partition.
However,
it is possible to convert unpartitioned disk space on the same hard disk
for use with Solaris 2.x x86. Use the following procedure at your own
risk.
This is not guaranteed to work on all systems.
You can have up to 4 fdisk partitions per hard drive, but only
one can be used for Solaris 2.x x86.
Create a new partition of type "OTHER". Get the length from the length
field for this new partition. The following example uses partition #3
for Solaris 2.x x86 with a length of 515 cylinders.
-Take note of the cylinder size. The line for this info is worded:
-Now multiply the fdisk length (515) and cylinder size (896).
Now you have a UFS file system that you can mount at /dev/dsk/c#t#d#p3
(for a SCSI drive) or /dev/dsk/c#d#p3 (for an IDE drive)
Huh. So the only special preceedure needed is to look up the size of the
slice, in bytes.
How lazy of the person who wrote newfs for intel, considering that
ioctl( DKIOCPARTINFO) work just fine on c#d#p# devices .
Too bad that solaris fdisk doesnt bother to report size in blocks, instead
of just idiotic cylinders.
Oh.
http://www.bolthole.com/solaris/x86.html
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
In <slrn92le8k.g51.phil...@shell3.ba.best.com> phil...@bolthole.no-
bots.com (Philip Brown) writes:
By faking one up. newfs doesn't care much, but it does want the vtoc
ioctl's to succeed.
Mike
>...
>>how odd. If having a vtoc is a requirement, I wonder how
>>lofi works.
>By faking one up. newfs doesn't care much, but it does want the vtoc
>ioctl's to succeed.
the better solution would have been to fix newfs, instead of hacking the
lofi driver.
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
…google.com/…/1f974059c14784cb?ln… 6/11
3/3/2011 Can I use a second solaris fdisk partitio…
In <slrn92o80f.ni5.phil...@shell3.ba.best.com> phil...@bolthole.no-
bots.com (Philip Brown) writes:
>>By faking one up. newfs doesn't care much, but it does want the vtoc
>>ioctl's to succeed.
>the better solution would have been to fix newfs, instead of hacking the
>lofi driver.
Well, I should rephrase then. newfs wants to use the vtoc ioctls
so that it can figure out what parameters to give to mkfs. So it
needs some idea of the geometry of the "disk". For lofi, the exact
numbers don't matter much, so they just have to be right enough that
newfs works.
Mike
>>the better solution would have been to fix newfs, instead of hacking the
>>lofi driver.
>Well, I should rephrase then. newfs wants to use the vtoc ioctls
>so that it can figure out what parameters to give to mkfs. So it
>needs some idea of the geometry of the "disk". For lofi, the exact
>numbers don't matter much, so they just have to be right enough that
>newfs works.
The irony is, the DKIOCGEOM ioctl IS AVAILABLE for c0d0p[01234], for
"geometry". and DKIOCPARTINFO can be used to get the size of the
partition.
So there's no rational reason why newfs shouldn't support it natively.
It just doesn't right now.
Someone at sun should fix it. It should be trivial.
--
[Trim the no-bots from my address to reply to me by email!]
Hi all,
Bye
Andreas
In article <90fb75$8o...@nnrp1.deja.com>,
Yousuf Khan <yk...@my-deja.com> wrote:
63303.news.dfncis.de>,
> andr...@schulz-live.de wrote:
> > Is it unchangable, if I first don't use the
> http://sunsolve.sun.com/private-cgi/retrieve.pl?
doc=infodoc%
> 2F13142&zone_32=x86%20fdisk
IT IS NOT OFFICIALLY
> TESTED OR DOCUMENTED. IF THERE IS AN ERROR IN
mount at /dev/dsk/c#t#d#p3
Hi all,
So I try it out.
The length of the partition is 14902 with 1008 cylinders.
So I do the following comand and get the error:
Bye
Andreas
In article <90fb75$8o...@nnrp1.deja.com>,
Yousuf Khan <yk...@my-deja.com> wrote:
In article <90jna0$q8...@nnrp1.deja.com>,
an_sch...@gmx.de writes:
>Hi all,
--
Andrew Gabriel And...@cucumber.demon.co.uk
Consultant Software Engineer
End of messages
…google.com/…/1f974059c14784cb?ln… 10/11
3/3/2011 Can I use a second solaris fdisk partitio…
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2011 Google
…google.com/…/1f974059c14784cb?ln… 11/11