Solaris 11でパーティションのデバイスIDをお探しですか?

Solaris 11でパーティションのデバイスIDをお探しですか?

Win 7、Solaris 11、Ubuntu 14.04、およびCentOS 7の間にマルチブートを設定したいノートブックがあります。これらのすべてのパーティションにデータが格納される共通のFAT32パーティションがあります。私はSolarisについてよく知らず、何年も使ったことがないので本当に難しいです。 :-)

「形式」とは、次のように言います。

AVAILABLE DISK SELECTIONS:
   0. c2t0d0 <ATA-Samsung SSD 850-2B6Q cyl 5013 alt 2 hd 224 sec 56>
      /pci@0,0/pci1028,49a@1f,2/disk@0,0

partition> print
Current partition table (original):
Total disk cylinders available: 5013 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
0       root    wm       1 - 5014       29.99GB    (5014/0/0) 62895616
1 unassigned    wm       0               0         (0/0/0)           0
2     backup    wu       0 - 5014       30.00GB    (5015/0/0) 62908160
3 unassigned    wm       0               0         (0/0/0)           0
4 unassigned    wm       0               0         (0/0/0)           0
5 unassigned    wm       0               0         (0/0/0)           0
6 unassigned    wm       0               0         (0/0/0)           0
7 unassigned    wm       0               0         (0/0/0)           0
8       boot    wu       0 -    0        6.12MB    (1/0/0)       12544
9 unassigned    wm       0               0         (0/0/0)           0

                                           Cylinders
  Partition   Status    Type          Start   End   Length    %
  =========   ======    ============  =====   ===   ======   ===
      1                 IFS: NTFS         0    16      17      0
      2                 IFS: NTFS        16  5015    5000     13
      3       Active    Solaris2       5016  10030    5015     13
      4                 EXT-DOS        10031  39868    29838     75

生涯にわたって正しいデバイスIDが見つかりません。 /dev/dsk/c2t0d0p0:4、c2t0d0p4:1、c2t0d0p4:e、何もありません。 Linuxでは/dev/sda10です。

「df -k」の出力

Filesystem           1024-blocks        Used   Available Capacity  Mounted on
rpool/ROOT/solaris      30707712     4959478    18800914    21%    /
/devices                       0           0           0     0%    /devices
/dev                           0           0           0     0%    /dev
ctfs                           0           0           0     0%        /system/contract
proc                           0           0           0     0%    /proc
mnttab                         0           0           0     0%    /etc/mnttab
swap                     7819364        1684     7817680     1%    /system/volatile
objfs                          0           0           0     0%    /system/object
sharefs                        0           0           0     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                    23760392     4959478    18800914    21%    /lib/libc.so.1
fd                             0           0           0     0%    /dev/fd
rpool/ROOT/solaris/var
                    30707712      265627    18800914     2%    /var
swap                     7948816      131136     7817680     2%    /tmp
rpool/VARSHARE          30707712          62    18800914     1%    /var/share
rpool/export            30707712          32    18800914     1%    /export
rpool/export/home       30707712          32    18800914     1%    /export/home
rpool/export/home/joliver
                    30707712        7922    18800914     1%    /export/home/joliver
rpool                   30707712        4967    18800914     1%    /rpool
rpool/VARSHARE/zones    30707712          31    18800914     1%    /system/zones
rpool/VARSHARE/pkg      30707712          32    18800914     1%    /var/share/pkg
rpool/VARSHARE/pkg/repositories
                    30707712          31    18800914     1%    /var/share/pkg/repositories

ベストアンサー1

あなたが探しているものは次のとおりです。

format -> select the desired disks -> fdisk

x86ベースのSolarisは、パーティション化を使用して独自のパーティションスタイル(スライス)を作成します。したがって、Windows および Linux では、1 つのパーティションタイプが Solaris で、残りが別のパーティションとして表示されます。 Solarisでは、fdiskコマンドを使用しない限り、Solarisパーティションのみを表示できます。ここで探しているパーティションのIDを取得できます。

正しくインストールされていることを確認するには、いつでもfstypコマンドを使用して初期テストを実行できます。

fstyp /dev/dsk/c1t0d0pXここで、XはパーティションIDです。

おすすめ記事