How can I read an unraid encrypted disk (luks-xfs) outside of my array?


Gem

Recommended Posts

I tried just plugging it into ubuntu and it gave a password prompt for the luks "wrapper" like it was going to work, but then nothing.  Further attempts to see the XFS system inside were unsuccessful

 

I also tried mounting it on my unraid box as an unassigned disk with an array that has a matching password [as mentioned here](https://forums.unraid.net/topic/71501-encrypted-disks-read-on-external-computersolved/) but that was also unsuccessful.  UD sees it, but after clicking Mount it thinks for a second and then nothing happened.  Filling in the encryption password in UD settings also doesn't give any positive feedback or better result

 

 

    Oct 9 18:10:11 Tower kernel: ata8: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    Oct 9 18:10:11 Tower kernel: ata8.00: ATA-7: ST3500630AS, 5QG0E7, 3.AAE, max UDMA/133
    Oct 9 18:10:11 Tower kernel: ata8.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 32)
    Oct 9 18:10:11 Tower kernel: ata8.00: configured for UDMA/133
    Oct 9 18:10:11 Tower kernel: sd 9:0:0:0: [sdh] 976773168 512-byte logical blocks: (500 GB/466 GiB)
    Oct 9 18:10:11 Tower kernel: sd 9:0:0:0: [sdh] Write Protect is off
    Oct 9 18:10:11 Tower kernel: sd 9:0:0:0: [sdh] Mode Sense: 00 3a 00 00
    Oct 9 18:10:11 Tower kernel: sd 9:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    Oct 9 18:10:11 Tower kernel: sdh: sdh1
    Oct 9 18:10:11 Tower kernel: sd 9:0:0:0: [sdh] Attached SCSI disk
    Oct 9 18:10:11 Tower unassigned.devices: Issue spin down timer for device '/dev/sdh'.
    Oct 9 18:11:18 Tower emhttpd: shcmd (2028): /usr/sbin/cryptsetup luksOpen /dev/sdh1 ST3500630AS_5QG0E7
    Oct 9 18:11:20 Tower unassigned.devices: Issue spin down timer for device '/dev/sdh'.
    Oct 9 18:12:02 Tower emhttpd: shcmd (2031): /usr/sbin/cryptsetup luksOpen /dev/sdh1 ST3500630AS_5QG0E7
    Oct 9 18:12:04 Tower unassigned.devices: Issue spin down timer for device '/dev/sdh'.
    Oct 9 18:12:26 Tower unassigned.devices: Issue spin down timer for device '/dev/sdh'.
    Oct 9 18:14:45 Tower unassigned.devices: Issue spin down timer for device '/dev/sdh'.

 

 

Some mount attempts produce the luksOpen line, all of them produce the spin down line.  I've also tried attaching directly to SATA or through a USB adapter

 

 

EDIT:  Ok after posting I had an idea.  I put a trial unraid on another usb and mounted the encrypted disk as its own array.  This worked with no visible downsides so far, but surely there's a more normal way?

Edited by Gem
update
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.