Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Has anyone successfully mounted a large USB device (3Tbyte MyBook) on the DNS-323?
My configuration:
- DNS-323 with 1.10 firmware
- ffp version 0.7
- usb device driver (which is working fine for smaller drives)
I suspect the problem is the file size limitation for ext2 f/s (2Tbytes?) and i can't find a solution for that.
Alternatively, has anyone successfully mounted an NTFS formatted USB device?
Offline
Yes - to the NTFS formatted USB device, however, it was a very long time ago, and more of a "can I do this" deal that an intent to use it - the required steps and a link to the required ntfs kernal driver (I believe ntfs.ko) are somewhere in the forum.
Offline
Here is my setup.sh script that I use to mount my USB linux drive
#!/bin/sh # .bootstrap/setup.sh # This script is called by FFP fun_plug early in the run, before all the # other scripts in ffp/start so it is a good place to perform setup operations # such as loading the USB device etc export PATH=${PATH}:/mnt/HD_a2/ffp/sbin:/mnt/HD_a2/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin # Fixup firmware issues # Increase the number of open file handles in ulimit /bin/echo "Setting the ulimit number of open file handles to 65535" #echo `ulimit -a` ulimit -n 65535 echo `ulimit -a` # Fix time zone information. echo "Setting Time Zone information in /etc/TZ to EST5EDT,M3.2.0,M11.1.0" echo "EST5EDT,M3.2.0,M11.1.0" > /etc/TZ if ! grep -q ntp /etc/services >/dev/null; then echo "Adding the ntp service port 123 to /etc/services" echo "ntp 123/udp" >>/etc/services else echo "Warning - The ntp service port 123 is already listed in /etc/services!" fi usbdisk_mount_options="-t ext2" usbdisk_dev="sdc1" usbdisk_alt="sdc" usbdisk_name="usb" usbdisk_mountp="/mnt/${usbdisk_name}" usbdisk_delay=30 echo "Loading the USB storage driver" insmod /mnt/HD_a2/.bootstrap/usb-storage.ko # Ensure the usb-storage module is loaded /bin/grep -q usb_storage /proc/modules if [ $? -eq 0 ]; then echo "The usb-storage.ko module was loaded" # loop and wait for disk to initialize let timeout=${usbdisk_delay} while [ ${timeout} -gt 0 ]; do echo "Waiting up to ${timeout} seconds for the USB device ${usbdisk_dev} to initialize" /bin/grep -q ${usbdisk_dev} /proc/partitions [ $? -eq 0 ] && break sleep 2 let timeout=${timeout}-2 done let elapsed=${usbdisk_delay}-${timeout} echo "Waited ${elapsed} seconds." /bin/grep -q ${usbdisk_dev} /proc/partitions if [ $? -eq 0 ]; then # Disk found. Attempt to create mount point. mkdir -p ${usbdisk_mountp} if ! mount | grep -q ${usbdisk_mountp}; then echo "Mounting /dev/${usbdisk_dev} on ${usbdisk_mountp}" echo "Running command: [mount ${usbdisk_mount_options} /dev/${usbdisk_dev} ${usbdisk_mountp}]" mount ${usbdisk_mount_options} /dev/${usbdisk_dev} ${usbdisk_mountp} echo "Running alternate command: [mount ${usbdisk_mount_options} /dev/${usbdisk_alt} ${usbdisk_mountp}]" mount ${usbdisk_mount_options} /dev/${usbdisk_alt} ${usbdisk_mountp} if [ $? -eq 0 ]; then echo "/dev/${usbdisk_dev} was mounted as ${usbdisk_mountp}" # Test for existence of ffp on USB drive if [ -d ${usbdisk_mountp}/ffp ]; then # Establish path to symlink FFP_PATH="${usbdisk_mountp}/ffp" fi else echo "Warning - failed to mount /dev/${usbdisk_dev}!" fi fi else echo "Warning - failed to mount /dev/${usbdisk_dev}. Did not find ${usbdisk_dev} in /proc/partitions!" fi else echo "Warning - usb-storage.ko module is not loaded!" fi #eof
Last edited by FunFiler (2013-01-13 16:37:03)
Offline
djb146 wrote:
Has anyone successfully mounted a large USB device (3Tbyte MyBook) on the DNS-323?
...
I suspect the problem is the file size limitation for ext2 f/s (2Tbytes?) and i can't find a solution for that.
The problem is that the official firmware only supports MBR partitioned drives. MBR only supports up to 2TB HDDs. It is a safe guess that your HDD is using GPT.
If I'm not mistaken ALT-F supports GPT. Not sure if out of the box or only after installing an additional package.
Last edited by scaramanga (2013-01-13 17:12:59)
Offline
Your disk is intended to have an ext2 filesystem? Does that mean you don't want to use in on a Windows system? In that case you could just skip the partititon table, and use disk itself
mke2fs /dev/sdc
Offline
Thanks all for your comments and assistance.
- I tried alt-f and it temporarily bricked my NAS by corrupting boot process.
- mke2fs won't work due to limitations identified by scaramanga.
- I tried ntfs.ko and it didn't work (I suspect due to my upgraded firmware v1.10 versus 1.03 or 1.04).
- I do wish to be able to use the MyBook on a windows occasionally (but may have to abandon that goal).
I haven't given up and if I find something that works reliably i will post my procedures.
Offline
djb146 wrote:
Thanks all for your comments and assistance.
- I tried alt-f and it temporarily bricked my NAS by corrupting boot process.
- mke2fs won't work due to limitations identified by scaramanga.
- I tried ntfs.ko and it didn't work (I suspect due to my upgraded firmware v1.10 versus 1.03 or 1.04).
- I do wish to be able to use the MyBook on a windows occasionally (but may have to abandon that goal).
I haven't given up and if I find something that works reliably i will post my procedures.
Give Alt-F a second chance. Don't flash - use the reolad method. That's what I'm currently doing.
Offline