using fdisk | Unix Linux Forums | Solaris

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 11-21-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 27 November 2014, 11:18 AM EST
Location: /dev/ph
Posts: 4,837
Thanks: 64
Thanked 434 Times in 402 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 11-21-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 28 November 2014, 9:29 AM EST
Location: Paris
Posts: 4,454
Thanks: 17
Thanked 480 Times in 432 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 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 11-22-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 28 November 2014, 9:29 AM EST
Location: Paris
Posts: 4,454
Thanks: 17
Thanked 480 Times in 432 Posts
You obviously need to adjust the device name to the one you use.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT -4. The time now is 10:31 AM.