0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows のソフトウェアミラーボリュームを Ubuntu マシンにつなげて読めるようにします。

環境

  • Ubuntu24.04 LTS
  • ハードディスク Toshiba DT01ACA2

FDISK

# fdisk -l /dev/sdb
ディスク /dev/sdb: 1.82 TiB, 2000398934016 バイト, 3907029168 セクタ
Disk model: TOSHIBA DT01ACA2
単位: セクタ (1 * 512 = 512 バイト)
セクタサイズ (論理 / 物理): 512 バイト / 4096 バイト
I/O サイズ (最小 / 推奨): 4096 バイト / 4096 バイト
ディスクラベルのタイプ: dos
ディスク識別子: 0x63506b5b

デバイス   起動   開始位置   最後から     セクタ サイズ Id タイプ
/dev/sdb1               63       2047       1985 992.5K 42 SFS
/dev/sdb2  *          2048     718847     716800   350M 42 SFS
/dev/sdb3           718848 3907026943 3906308096   1.8T 42 SFS
/dev/sdb4       3907026944 3907027119        176    88K 42 SFS

DISK TYPE 42 SFS と出ています。
これをマウントできるかな?

mount

# mount -o ro /dev/sdb3 Windows2008Server
mount: /samba/Windows2008Server: スペシャルデバイス /dev/sdb3 が存在しません.

あれ?

ldmtool

ldmtool を使ってみました。

# ldmtool create all
Disk Disk3 required by partition Disk3-01 is missing
Disk Disk3 required by partition Disk3-02 is missing
[
  "ldm_vol_WIN-0D47GNR229R-Dg0_Volume2",
  "ldm_vol_WIN-0D47GNR229R-Dg0_Volume4"
]

これで /media 内へマウントまで自動でできるような事例がありましたが、今回は何も起こっていませんでした。


# ls /media

/dev/mapper を使ってマウント

# ls -alh /dev/mapper
合計 0
drwxr-xr-x  2 root root     140  8月 11 17:42 .
drwxr-xr-x 20 root root    5.1K  8月 11 17:42 ..
crw-------  1 root root 10, 236  6月  1 14:33 control
lrwxrwxrwx  1 root root       7  8月 11 17:42 ldm_part_WIN-0D47GNR229R-Dg0_Disk1-01 -> ../dm-2
lrwxrwxrwx  1 root root       7  8月 11 17:42 ldm_part_WIN-0D47GNR229R-Dg0_Disk1-02 -> ../dm-0
lrwxrwxrwx  1 root root       7  8月 11 17:42 ldm_vol_WIN-0D47GNR229R-Dg0_Volume2 -> ../dm-1
lrwxrwxrwx  1 root root       7  8月 11 17:42 ldm_vol_WIN-0D47GNR229R-Dg0_Volume4 -> ../dm-3

このうち、ldm_vol_WIN-0D47GNR229R-Dg0_Volume4 の中身を見てみます。


# mkdir WindowsVolume4
# mount -o ro /dev/mapper/ldm_vol_WIN-0D47GNR229R-Dg0_Volume4 WindowsVolume4
# df -h
Filesystem                                       Size  Used Avail Use% Mounted on
.
.
.
/dev/mapper/ldm_vol_WIN-0D47GNR229R-Dg0_Volume4  350M  274M   77M  79% /samba/WindowsVolume4
# ls -alh WindowsVolume4
合計 417K
drwxrwxrwx  1 root root    0  6月  8  2019 '$RECYCLE.BIN'
drwxrwxrwx  1 root root 4.0K  6月  8  2019  .
drwxr-xr-x 12 root root 4.0K  8月 11 18:12  ..
-rwxrwxrwx  1 root root    1  6月 18  2013  BOOTNXT
-rwxrwxrwx  1 root root 8.0K  6月 25  2014  BOOTSECT.BAK
drwxrwxrwx  1 root root 8.0K  6月 25  2014  Boot
drwxrwxrwx  1 root root    0  6月 25  2014  Recovery
drwxrwxrwx  1 root root    0  6月 25  2014 'System Volume Information'
-rwxrwxrwx  1 root root 390K  3月 18  2014  bootmgr

うまく見えました。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?