my usb drive is set up in 3 partitions. 1.2TB in ext3 for the NAS, 32MB for a swap, and 200GB in NTFS (for use in Windows).
When i plug in to the router, it automounts the ext3 partition and everything works fine there. I cant seem to manually mount the NTFS drive though.
the command "mount /dev/scsi/host1/bus0/target0/lun0/part3 /tmp/transfer" does nothing. Ive tried mounting in other folders as well and still nothing.
the router sees and recognizes all partitions.
------------------------------------------
root@DD-WRT:/lib/modules/2.6.24.111/kernel/fs# cat /tmp/disktype.dump
--- /dev/discs/disc0/disc
Block device, size 1.365 TiB (1500301910016 bytes)
DOS/MBR partition map
Partition 1: 1.174 TiB (1290548543488 bytes, 2520602624 sectors from 2048)
Type 0x83 (Linux)
Ext3 file system
Volume name "Main"
UUID E3CA7235-7465-46BC-9C4C-043747FCC56B (DCE, v4)
Volume size 1.174 TiB (1290548543488 bytes, 315075328 blocks of 4 KiB)
Partition 2: 32 MiB (33554432 bytes, 65536 sectors from 2930204672)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 31.99 MiB (33546240 bytes, 8190 pages of 4 KiB)
Partition 3: 195.3 GiB (209703513600 bytes, 409577175 sectors from 2520614565)
Type 0x07 (HPFS/NTFS)
NTFS file system
Volume size 195.3 GiB (209703513088 bytes, 409577174 sectors)
-------------------------------------
any idea how to mount this NTFS partition?
Since automount currently only mounts the first partition you have to do two things, load fuse module:
insmod /lib/modules/2.6.24.111/kernel/fs/fuse/fuse.ko
mount using command:
ntfs-3g /device /mountpoint
e.g.:
ntfs-3g /dev/discs/disc0/part3 /mnt
You can add those commands for example under:
Administration->Commands-> Save startup
this way the get executed each time the router reboots
is the fuse module new? i dont have it in build 15758M
------------------
root@DD-WRT:/lib/modules/2.6.24.111/kernel/fs# ls -l
drwxr-xr-x 2 root root 24 Nov 19 23:45 cifs
drwxr-xr-x 2 root root 28 Nov 19 23:45 exportfs
drwxr-xr-x 2 root root 24 Nov 19 23:45 ext2
drwxr-xr-x 2 root root 24 Nov 19 23:45 ext3
drwxr-xr-x 2 root root 23 Nov 19 23:45 fat
drwxr-xr-x 2 root root 23 Nov 19 23:45 jbd
drwxr-xr-x 2 root root 25 Nov 19 23:45 jffs2
drwxr-xr-x 2 root root 25 Nov 19 23:45 lockd
-rw-r--r-- 1 root root 8880 Nov 19 23:45 mbcache.ko
drwxr-xr-x 2 root root 25 Nov 19 23:45 msdos
drwxr-xr-x 2 root root 23 Nov 19 23:45 nfs
drwxr-xr-x 2 root root 24 Nov 19 23:45 nfsd
drwxr-xr-x 2 root root 82 Nov 19 23:45 nls
drwxr-xr-x 2 root root 24 Nov 19 23:45 vfat
---------------------
nevermind, just using the ntfs-3g command worked. thanks again!
Ok my older build had it compiled into kernel, now it is compiled as a module so it can be loaded only when needed.
Konggggg !! You saved my life !!
I've gone around many forums to find out the right solution for a whole day.
AAAAAArgggggg, now my combo works perfectly !!
1. Buffalo WZR-HP-AG300H running DD-WRT v24SP2-MULTI (06/03/12) std - build 19154
2. Ext HDD Buffalo 500GB with 3 NTFS partitions
3. Raspberry Pi, access resources in ext HDD via the router
These commands works for me:
root@DD-WRT:~# insmod /lib/modules/2.6.24.111/kernel/fs/fuse/fuse.ko
root@DD-WRT:~# ntfs-3g /dev/sda1 /mnt
root@DD-WRT:~# ntfs-3g /dev/sda3 /mnt
root@DD-WRT:~# ntfs-3g /dev/sda5 /opt