Sponsored Content
Operating Systems Solaris Find device ID for partition in Solaris 11? Post 302968489 by jnojr on Wednesday 9th of March 2016 09:51:32 PM
Old 03-09-2016
Quote:
Originally Posted by jlliagre
You can get the fdisk partition table with:

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

Code:
jnojr@solaris:~$ fdisk -v -W - /dev/rdsk/c2t0d0p0
* /dev/rdsk/c2t0d0p0 default fdisk table
* Dimensions:
*    512 bytes/sector
*     56 sectors/track
*    224 tracks/cylinder
*   39869 cylinders
*
* systid:
*    1: DOSOS12
*    2: PCIXOS
*    4: DOSOS16
*    5: EXTDOS
*    6: DOSBIG
*    7: FDISK_IFS
*    8: FDISK_AIXBOOT
*    9: FDISK_AIXDATA
*   10: FDISK_0S2BOOT
*   11: FDISK_WINDOWS
*   12: FDISK_EXT_WIN
*   14: FDISK_FAT95
*   15: FDISK_EXTLBA
*   18: DIAGPART
*   65: FDISK_LINUX
*   82: FDISK_CPM
*   86: DOSDATA
*   98: OTHEROS
*   99: UNIXOS
*  100: FDISK_NOVELL2
*  101: FDISK_NOVELL3
*  119: FDISK_QNX4
*  120: FDISK_QNX42
*  121: FDISK_QNX43
*  130: SUNIXOS
*  131: FDISK_LINUXNAT
*  134: FDISK_NTFSVOL1
*  135: FDISK_NTFSVOL2
*  165: FDISK_BSD
*  167: FDISK_NEXTSTEP
*  183: FDISK_BSDIFS
*  184: FDISK_BSDISWAP
*  190: X86BOOT
*  191: SUNIXOS2
*  238: EFI_PMBR
*  239: EFI_FS
*

* Id    Act  Bhead  Bsect  Bcyl    Ehead  Esect  Ecyl    Rsect      Numsect
  7     0    32     33     0       223    19     12      2048       204800    
  7     0    223    20     12      254    63     1023    206848     62707712  
  191   128  254    63     1023    254    63     1023    62920704   62908160  
  5     0    254    63     1023    254    63     1023    125831166  374287026 
  131   0    254    63     1023    254    63     1023    125831168 1024000 
  131   0    254    63     1023    254    63     1023    126857216 62914560
  130   0    254    63     1023    254    63     1023    189773824 16775168
  131   0    254    63     1023    254    63     1023    206551040 1046528 
  11    0    254    63     1023    254    63     1023    270514176 229601280
  131   0    254    63     1023    254    63     1023    207599616 60817408.

Not sure what that's trying to tell me :-) I'm guessing maybe the ninth one might be what I want, but

Code:
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p9:1 /mnt/global
mount: /dev/dsk/c2t0d0p9:1 is not a DOS filesystem.

Quote:
Linux /dev/sda10 is more than likely Solaris /dev/dsk/c2t0d0p10
Code:
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p10 /mnt/global
mount: /dev/dsk/c2t0d0p10 is not a DOS filesystem.
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p10:0 /mnt/global
mount: No such device or address
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p10:1 /mnt/global
mount: /dev/dsk/c2t0d0p10:1 is not a DOS filesystem.
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p10:c /mnt/global
mount: /dev/dsk/c2t0d0p10:c is not a DOS filesystem.
jnojr@solaris:~$ sudo mount -F pcfs /dev/dsk/c2t0d0p10:e /mnt/global
mount: /dev/dsk/c2t0d0p10:e is not a DOS filesystem.

 

5 More Discussions You Might Find Interesting

1. Solaris

Find a Fat32 partition under solaris 10 x86

Hello, I use Sun Solaris 10 under a x86 computer, and I want to mount a Fat32 partition who are stored in the same disk with the UFS filesystem. But, before mount this partition, I need to know is location in /dev/dsk Because there are a lot of file "c0t0d0" etc..., and I didn't find my... (4 Replies)
Discussion started by: willits
4 Replies

2. Linux

shrinking root partition and using free space to create a block device

We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies

3. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

4. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

5. Red Hat

This doesn't look like a partition table Probably you selected the wrong device.

Hi, I need to mount the device from this device # fdisk -l . . . Disk /dev/sdas: 2000.4 GB, 2000365289472 bytes 255 heads, 63 sectors/track, 243197 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size... (0 Replies)
Discussion started by: justbow
0 Replies
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy