Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, I took a look in several topics and guides but still can't make it work properly... I have a DNS-320 2.0b with the Fun-Plug installed and want to run an external hard-disk as a place where CouchPotato will save files.
Currently when I plug my external HD, I can access it via network but I can't find it via ssh. I know that it's in /dev/sdc1 but I'm unable to mount it.
When I try to mount it, the following error appears: mount: /dev/sdc1 already mounted or /mnt/USB busy
When I run mount to see if it's mounted already I can't find it there but when I check "cat /proc/mounts" I can see that there's some information about the HD:
/dev/sdc1 /mnt/USB/HD_c1 fuseblk rw,nosuid,nodev,user_id=0,group_id=0,default_permissions,allow_other 0 0
Does anyone knows how I can mount it properly? I tried to format it in ext3 as well and it says that the HD is in use but I'm not sure how to stop it.
Thanks
Offline
Isn't it mounted on /mnt/USB/HD_c1 ?
Offline
Hi,
If you're under debian, you have to modify the fun_plug file.
SSH as root and edit fun_plug file (make a backup before ) :
nano /mnt/HD/HD_a2/fun_plug
and replace this line :
mount --bind $DISK1 $DISTDIR$DISK1
by this block :
for DISK in `mount|awk '$3~"/mnt/"{print $3}'`; do
if [ -d $DISK ] ; then mkdir -p $DISTDIR/$DISK ; mount --bind $DISK $DISTDIR/$DISK ; fi
done
(Control o to write file than Control x to exit file)
(usb drive will be on : /mnt/USB/HD_c1)
Last edited by Le_candide (2012-03-13 22:12:35)
Offline
I tried this code already but nothing happens... this is what is mounted:
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
squash on /usr/local/tmp type ramfs (rw)
/dev/loop0 on /usr/local/modules type squashfs (ro)
/dev/mtdblock5 on /usr/local/config type jffs2 (rw)
/dev/sda4 on /mnt/HD_a4 type ext3 (rw,data=ordered)
/dev/sdb4 on /mnt/HD_b4 type ext3 (rw,data=ordered)
none on /proc/bus/usb type usbfs (rw)
/dev/md1 on /mnt/HD/HD_a2 type ext3 (rw,data=ordered,usrquota,grpquota)
/dev/sda4 on /mnt/HD/HD_a2/squeeze/mnt/HD_a4 type ext3 (rw,data=ordered)
/dev/sdb4 on /mnt/HD/HD_a2/squeeze/mnt/HD_b4 type ext3 (rw,data=ordered)
/dev/md1 on /mnt/HD/HD_a2/squeeze/mnt/HD/HD_a2 type ext3 (rw,data=ordered,usrquota,grpquota)
/dev/root on /mnt/HD/HD_a2/squeeze/mnt/root type ext2 (rw)
/dev/root on /mnt/HD/HD_a2/squeeze/dev type ext2 (rw)
/dev/root on /mnt/HD/HD_a2/squeeze/sys type ext2 (rw)
proc on /mnt/HD/HD_a2/squeeze/proc type proc (rw)
Can it be related with the HD being ntfs and not ext3?
Offline
Ok, looks like the problem is with my HD... I've tested with another one and worked fine. I will try to figure out a solution, thanks anyway!
Offline
This is really odd... I was able to mount once or twice other hard-disks but now I can't do it anymore =/
This is what I've noticed when starting the NAS with the hard-disk plugged on.
What happens in the admin platform:
- It's automatically mounted and shared by the DNS (not by debian)
- If the drive sleeps I can't access the files anymore via samba, only way is to unmount it (via the admin platform) and mount it again
What happens in Debian:
- I can't access it via debian, only via samba as another volume
- The hard-disk is listed in fdisk and /proc/mounts but I can't mount
Offline