Solved

Open Solaris Split drive into 2 partitions

Posted on 2008-06-25
7
757 Views
Last Modified: 2013-12-27
HI,
I have just installed open solaris on my laptop. it has a 55GB hard disk. Upon install I selected to partition the drive. 15GB for the solaris installation. The remaining 40GB was unallocated or partioned.

I now have a drive that has 40GB free. I am having all sorts of trouble partitoning the freespace and having it as a useable storage drive. Would anyone be able to assist.

apologies for lack of information, first solaris install and im still learning.
Cheers!
0
Comment
Question by:doyle007
7 Comments
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 21872776
If I understand correctly, you created a "Solaris Partiton" with a size of 15 GB
and the remainder of your disk drive is not allocated?

Unfortunately, I am not sure if you can create more than one Solaris partition
on a single drive ...
But you can create a DOS/Windows partition (FAT, not NTFS) and mount it in
Solaris.
0
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 21872782
If you want to use your PC for Solaris only, re-installing and using the whole disk for single Solaris partition might be the best, though.
0
 
LVL 62

Expert Comment

by:gheist
ID: 21873496
So rest is allocated to swap?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 21873778
No, all Solaris stuff is in the Solaris partition

The Solaris partition gets "sub-divided" into Unix slices (sometimes also
called "partitions", which makes things a little weird)

Example:
- You have a disk of 55 GB size
- Create a Solaris partition of 15 GB
- Installing Solaris in that partition, you may get
     - root slice (c0t0d0s0) of 4 GB
     - var slice (c0t0d0s1) of 1 GB
     - swap slice (c0t0d0s3) of 1 GB
     - another slice (c0t0d0s6) for the remaining  9 GB
To see how your disk (Solaris partition in this case) is "sliced", use
    prtvtoc /dev/rdsk/c0t0d0s2

Depending on your hardware, the disk drive name may be different.
To see the name in your system, use either
   df -kl                  (can do this as ordinary user)
or
   format</dev/null    (only root user can do this)
0
 

Author Comment

by:doyle007
ID: 21880497
JustUNIX - You are correct. I have done exactly that.
I cannot see the reamining 40GB anywhere in the partition table. I can see all the stuff you explain however.
So my question is, where is my 40GB and why cant I do anything with it.

Ie. I created a unix PARTITION by going through

FORMAT > FDISK > Create partition > Unix partition > allocated the reamining 73% of the drive to it.

However, I cant mount that, or see it int he partition table.
I feel as though I am msising a step somewhere....

0
 
LVL 16

Accepted Solution

by:
Hanno Schröder earned 500 total points
ID: 21882438
If I understand correctly:
- You created a Solaris (Unix) partition during install(size about 23% of the drive)
- Now, you created (from your just-installed Solaris OS) a second Solaris (Unix) partition on the remainder

What does
 format</dev/null
show?

Did you do a reconfigure boot already? If not, do so:
  touch /reconfigure
  init 6
and re-run the format command from above.

Logic would require, that the second partition should appear as a second disk, somehow (?)
0
 
LVL 14

Expert Comment

by:arthurjb
ID: 21898706
Please post the output of

df -lh

I think that this may be a very simple problem that has been overblown.

All that you have to do is find the solaris identifier for the unused space on the drive, and decide how many slices that you want to make from it.

The above command will show exactly what the drive is being used for.

Thanks
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cron job says it ran, no results 25 118
What is the meaning of mount pont? with respect to windows file server. 7 60
Sed question 2 86
Linux hostname change 2 72
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question