Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

using fdisk

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-21-2008
seyiisq seyiisq is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 30 June 2010, 11:26 AM EDT
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
using fdisk

how do i know my disk partion using fdisk
Sponsored Links
    #2  
Old Unix and Linux 11-21-2008
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is online now Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 3 September 2015, 6:22 AM EDT
Location: /dev/ph
Posts: 4,953
Thanks: 70
Thanked 467 Times in 431 Posts
You need to read up about how to use the fdisk utility. Do "man fdisk". If man pages are not installed on your system, they can be accessed at docs.sun.com.
Sponsored Links
    #3  
Old Unix and Linux 11-21-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 3 September 2015, 6:42 AM EDT
Location: Paris
Posts: 4,608
Thanks: 17
Thanked 514 Times in 461 Posts
The fdisk manual page is unfortunately lacking examples that would help answering this simple question. Here are sample fdisk commands:


Code:
fdisk -v -W - /dev/rdsk/c0d0p0


Code:
echo 6 | fdisk /dev/rdsk/c0d0p0

    #4  
Old Unix and Linux 11-21-2008
seyiisq seyiisq is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 30 June 2010, 11:26 AM EDT
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks jlliagre, As described in your response i tried but got the following error.


Code:
# fdisk -v -W - /dev/rdsk/c0d0p0
fdisk: Cannot stat device /dev/rdsk/c0d0p0.
# echo 6 | fdisk /dev/rdsk/c0d0p0
fdisk: Cannot stat device /dev/rdsk/c0d0p0.

Pls can someone help looks into this
Sponsored Links
    #5  
Old Unix and Linux 11-22-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 3 September 2015, 6:42 AM EDT
Location: Paris
Posts: 4,608
Thanks: 17
Thanked 514 Times in 461 Posts
You obviously need to adjust the device name to the one you use.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
fdisk pvkarthykeyan Solaris 2 05-12-2011 02:58 AM
what is the fdisk -l command of SUN z_haseeb Solaris 4 03-17-2011 12:24 AM
Fdisk v/s parted pinga123 UNIX for Dummies Questions & Answers 1 02-23-2011 06:56 AM
Using fdisk in scripts Frank_a UNIX for Dummies Questions & Answers 1 02-11-2005 08:46 AM
(c)fdisk and RedHat 7.2 98_1LE UNIX for Dummies Questions & Answers 1 01-17-2002 02:38 AM



All times are GMT -4. The time now is 06:50 AM.