How to create new partitions in solaris,from the raw disk?


 
Thread Tools Search this Thread
Operating Systems Solaris How to create new partitions in solaris,from the raw disk?
# 15  
Old 06-06-2008
Hmm, i am unable to fdisk -g or -G my disk!!!!
By this i assume you meant fdisk on the root...
But it says "this particular device is not a raw disk"

I guess when i find time i will go in for a full fledged re-installation itself!!!!
# 16  
Old 06-07-2008
You should have a device corresponding to the full root disk, not the fdisk partition in it. I don't have a machine to hand to check the device name format, but will post back in a couple of hours.
# 17  
Old 06-07-2008
thanks a lot....
Really appreciate your concern!!!
I shall be waiting
Smilie
# 18  
Old 06-07-2008
ok, you should have a device with almost the same name as you root disk, but ending in p0. eg c0t0d0p0 or maybe c0t0p0 (if you have an IDE drive), thats the one you want.

In my case I only have one partition on the disk using the whole disk

Code:
             Total disk size is 8924 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  8924    8924    100





SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection:

Type 1 to create a partition
Choose Solaris2 as the partition type
Then specify what % of the disk you want to use
Select 5 to write the changes to the disk

It is probably best to reboot the system after this to ensure that the disk state is saved and stable.

After reboot:

Code:
devfsadm -v

Then you can use format to create one ore more new slices.
Then newfs the slices and you should be ready to mount and use them.
# 19  
Old 06-08-2008
Hi Reborg, how did you see this menu in solaris? I've never seen it before. What command yields tis?
# 20  
Old 06-08-2008
This is the fdisk interactive menu. You display it simply with a command like:
Code:
fdisk /dev/rdsk/c0d0p0

Adjust c0d0p0 to your device.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

SVM RAID5: Can an app access raw partitions?

I am using Solaris 9 (Sparc based) with Sybase and a proprietary DB application that works with Sybase. In the past we have not used SVM or any RAID config. The DBs were configured such that each DB had its own partition. Now I would like to setup a new machine with the DBs on a RAID5 config... (1 Reply)
Discussion started by: DavidC_SysEngr
1 Replies

2. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies

3. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% / ... (0 Replies)
Discussion started by: fretagi
0 Replies

4. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

5. Solaris

How to create mirror disk in solaris machine?

hi, I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine. thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies

6. Solaris

How to create more partitions in x86 Solaris?

Friends, I have an 80 GB IDE hard disk on which I installed Solaris 10, the layout being Total size of the partition being 30 GB c0d0s0 = / directory = 15 GB c0d0s1 = swap file system = 1 GB c0d0s7 = /export/home directory = 1GB c0d0s8= boot c0d0s9 = alternates ... (3 Replies)
Discussion started by: saagar
3 Replies

7. SCO

create disk partitions in sco

i have one 9 gb hdd having root 2 gb fs now i want to create additional 1gb fs in remaining space unix partation created in entired 9gb thanx (1 Reply)
Discussion started by: sudhir69
1 Replies

8. Solaris

Reading raw disk on Solaris

Hello I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system... I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0. I use the dd command to read the disk as such:... (19 Replies)
Discussion started by: son_t
19 Replies

9. Filesystems, Disks and Memory

Problem setting up raw partitions on SUSE v8.0 using LVM on Oracle 8.1.7.URGENT!!!!!!

Hi all! Working on Oracle v8.1.7.0.0 with OS  as Suse v8.0 Linux. I had created LVM,linked raw devices to LVM as below: # for binding raw devices raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m raw /dev/raw/raw3... (2 Replies)
Discussion started by: Amitstora
2 Replies

10. Filesystems, Disks and Memory

raw partitions

i want to know, how do i to create a rwa partttions in unixware 7 wit raid 5 best regards felix arteaga (1 Reply)
Discussion started by: farteaga
1 Replies
Login or Register to Ask a Question