DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-03-10 18:53:02

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Adding two external disks to DNS323?

Hi,

I tested an external disk for a while which was an old Seagate 80GB, and will be replacing it with a 250GB.
However I'd still like to make use of the 80GB, using both disks via a powered USB hub.

I've used this hub to connect both disks manually and copy the data from the 80GB to the 250GB.

However I do not know how to ensure that the 250GB becomes /sdc1 and the 80GB becomes /sdd1.

At the moment they are the other way around as the 250GB was the last to be added, but on a reboot they will both be connected at the same time.

Can anyone please explain how to get this setup if it is at all possible.?

TIA


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#2 2010-03-19 12:24:30

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Adding two external disks to DNS323?

FWIW if anyone needs to do something similar I've managed it with the following part of a script.

# Find out which disk is the 250GB
# Substitute the : for 1 so /dev/sdx: becomes /dev/sdx1
fdisk -l | grep '250.0' | awk {'print $2'} | awk '{sub(":","1")}1' > mntpt.log
MNTPT=`cat mntpt.log`
# Make sure something was returned (-n is length non zero)
if [ -n $MNTPT ] ; then
echo "Creating usb250 mount point" >> $EPS_LOG
mkdir /mnt/usb250 >> $EPS_LOG
mount $MNTPT /mnt/usb250 >> $EPS_LOG
fi
fdisk -l | grep '80.0' | awk {'print $2'} | awk '{sub(":","1")}1' > mntpt.log
MNTPT=`cat mntpt.log`
if [ -n $MNTPT ] ; then
echo "Creating usb80 mount point" >> $EPS_LOG
mkdir /mnt/usb80 >> $EPS_LOG
mount $MNTPT /mnt/usb80 >> $EPS_LOG
fi


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#3 2010-03-21 16:08:41

flagada
Member
Registered: 2010-03-20
Posts: 8

Re: Adding two external disks to DNS323?

well done wink

Offline

 

#4 2010-03-21 18:40:55

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Adding two external disks to DNS323?

flagada wrote:

well done wink

Cheers, took me a while, I can tell you. :-)


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB