The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add hard drive to SCO 6.0.0 uxlunatick SCO 13 04-18-2008 09:17 AM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 02:19 PM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 05:47 PM
Removing hard drive pujathakral UNIX for Dummies Questions & Answers 2 05-13-2005 10:58 AM
Partition Hard drive amir UNIX for Dummies Questions & Answers 1 02-03-2005 06:01 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-11-2008
hellotommy hellotommy is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
Unhappy Using the rest of my hard drive

Hi

When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare?

format shows:-

Code:
-bash-3.2# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
Specify disk (enter its number): 0
selecting c3d0
NO Alt slice
No defect list found
[disk formatted, no defect list found]
/dev/dsk/c3d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
/dev/dsk/c3d0s1 is currently used by swap. Please see swap(1M).


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        fdisk      - run the fdisk program
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (original):
Total disk cylinders available: 2607 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm     132 - 2606       18.96GB    (2475/0/0) 39760875
  1       swap    wu       1 -  131        1.00GB    (131/0/0)   2104515
  2     backup    wu       0 - 2606       19.97GB    (2607/0/0) 41881455
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0

partition>

Last edited by DukeNuke2; 10-11-2008 at 10:09 AM..
  #2 (permalink)  
Old 10-11-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
Your slice2 (whole disk space) shows only 20G from the partition table.
Did you do a clone or at least did you assigned the remaining size to any unused partition during install ? I'm not sure if you can expand beyond this now, and afraid that you might loose your data if you try purging the disk to get back its original volume of 300G
  #3 (permalink)  
Old 10-11-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
you can use "fdisk" to make use of the rest of your harddrive... add a new partition to use for solaris. don't try to grow your existing partition!
  #4 (permalink)  
Old 10-11-2008
hellotommy hellotommy is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
Quote:
Originally Posted by DukeNuke2 View Post
you can use "fdisk" to make use of the rest of your harddrive... add a new partition to use for solaris. don't try to grow your existing partition!
Thanks DukeNuke2

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

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  2610    2610      7
          2                 Solaris2       2610  38798    36189     93




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:
  #5 (permalink)  
Old 10-11-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
i just installed a bunch of x4200m2 servers from sun with solarisx86 and i've to use fdisk alot .
  #6 (permalink)  
Old 10-11-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,265
Quote:
Originally Posted by hellotommy View Post
Thanks DukeNuke2

Code:
...
          1       Active    Solaris2          1  2610    2610      7
          2                 Solaris2       2610  38798    36189     93
...
Ouch.
You can't have more than one Solaris/Solaris2 partition. It might make your system unbootable.

Set partition 2 type to something else and create a ZFS pool on it if you are running Solaris 10. If you aren't, you can create a ufs partition on c3d0p2 but that's not straightforward.

Edit: just noticed your root partition is on ZFS, so you are definitely using Solaris 10u6 or Solaris Express, so just create a ZFS pool and you are set.
  #7 (permalink)  
Old 10-11-2008
hellotommy hellotommy is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
Ok, I've changed it to 'UNIX System' how would I make a zfs pool named 'minisan'?
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0