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: 22 October 2014, 12:44 PM EDT
Location: /dev/ph
Posts: 4,822
Thanks: 64
Thanked 429 Times in 398 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 offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 October 2014, 6:33 AM EDT
Location: Paris
Posts: 4,431
Thanks: 16
Thanked 473 Times in 427 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 offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 October 2014, 6:33 AM EDT
Location: Paris
Posts: 4,431
Thanks: 16
Thanked 473 Times in 427 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 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 07:43 AM.