Mount HDD outside of Synology Box over USB


Recommended Posts

hey,

 

quick and dirty.

connect via terminal over ssh

...

 

became "root" permissions

sudo -i

 

list disks

fdisk -l

 

in this example, my source drive

Disk /dev/sdr: 931.5 GiB, ...

Device     Boot   Start        End    Sectors   Size Id Type
/dev/sdr1          2048    4982527    4980480   2.4G fd Linux raid autodetect
/dev/sdr2       4982528    9176831    4194304     2G fd Linux raid autodetect
/dev/sdr3       9437184 1953320351 1943883168 926.9G fd Linux raid autodetect

 

look for an free md-slot and change "/dev/mdX"

mdadm -A --verbose --run /dev/mdX /dev/sdr3

message...

mdadm: looking for devices for /dev/md4
mdadm: /dev/sdr3 is identified as a member of /dev/md4, slot 0.
mdadm: added /dev/sdr3 to /dev/md4 as 0
mdadm: /dev/md4 has been started with 1 drive.

... ok, its fine

 

needed or not?

mdadm -Sf /dev/md4

mdadm -Asf && vgchange -ay

 

check for correctness

fdisk -l

message...

Disk /dev/md4: 926.9 GiB, ...
Disk /dev/md127: 2 GiB, ...
Disk /dev/md126: 2.4 GiB, ...

... ok

 

make a dir in useable range for "File Station"

mkdir /volume1/public/tmp

 

mount "/dev/mdX" with read-only permission

mount /dev/md4 /volume1/public/tmp -o ro

 

 

greets Sky

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.