LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-02-2007, 03:02 AM   #1
hal8000b
Member
 
Registered: Mar 2001
Location: UK
Distribution: Mint, Arch, Debian7
Posts: 194

Rep: Reputation: 23
Viewing Partitions with fdisk - Solaris 10


I have Solaris 10 and cannot work out how to view partitions with fdisk. My primary bf partition is on partition 2, df reveals:

bash-3.00$ df
/ (/dev/dsk/c0d0s0 ): 3418916 blocks 427287 files
/devices (/devices ): 0 blocks 0 files
/system/contract (ctfs ): 0 blocks 2147483618 files
/proc (proc ): 0 blocks 7896 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/etc/svc/volatile (swap ): 1188496 blocks 120028 files
/system/object (objfs ): 0 blocks 2147483494 files
/lib/libc.so.1 (/usr/lib/libc/libc_hwcap1.so.1): 3418916 blocks 427287 files
/dev/fd (fd ): 0 blocks 0 files
/tmp (swap ): 1188496 blocks 120028 files
/var/run (swap ): 1188496 blocks 120028 files
/export/home (/dev/dsk/c0d0s7 ): 5405540 blocks 443477 files
/cdrom/racedriver3 (/vol/dev/dsk/c1t0d0/racedriver3): 0 blocks 0 files
/home/anc (/export/home/anc ): 5405540 blocks 443477 files


I can see slice 0 is root, slice 7 is home partition.
My IDE HD is master on IDE0 i.e. /dev/hda under linux

So far

# fdisk /dev/dsk/c0d0p0
fdisk: /dev/dsk/c0d0p0 must be a raw device.

...probably because Im doing something wrong. Would I be able to see the entire HD partitions from Solaris, or just my Solaris slices?
Thanks in advance.
 
Old 04-02-2007, 04:48 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You must use the raw device notation, eg:
Code:
fdisk /dev/rdsk/c0d0p0
 
Old 04-02-2007, 05:11 AM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Isn't Solaris a graphical installation?
 
Old 04-02-2007, 01:14 PM   #4
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by kalabanta
Isn't Solaris a graphical installation?
You can install Solaris via command line or GUI. Many ways to skin a cat.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
Viewing Partitions carlosinfl Linux - General 4 09-06-2006 04:57 PM
FDISK does not let me create partitions millikin691@hotmail. Slackware - Installation 54 08-28-2006 07:04 PM
How do you make three partitions using fdisk? inward_eye Linux - Hardware 9 04-20-2004 03:13 PM
To show all partitions(without using fdisk -l) arunshivanandan Linux - Newbie 18 08-04-2003 11:03 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration