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 2011-08-25 17:55:41

teros
New member
Registered: 2011-08-25
Posts: 4

Mounting external NTFS drives issues

Hi,

Having issues mounting an external USB drive via funplug

using the following

usb-storage.co-http://dns-343.googlecode.com/files/usb-storage.ko
NTFS.co-http://dns-343.googlecode.com/files/ntfs.ko

have insmod both when attempting to mount on valid directorys getting
mount -t ntfs -o umask=0222 /dev/sde1 /mnt/HD_a2/usb_drive/
mounting /dev/sde1 on /mnt/HD_a2/usb_drive/ failed: No such device

/dev # mount /dev/sde1 -t ntfs /mnt/HD_a2/usb_drive/ -o noatime
mount: mounting /dev/sde1 on /mnt/HD_a2/usb_drive/ failed: No such device

Output of fdisk -l below
   Device Boot      Start         End      Blocks  Id System
/dev/sde1               1      243201  1953512001   7 HPFS/NTFS

dmesg output below

usb_storage: version magic '2.6.6-arm2 ARMv5 gcc-3.3' should be '2.6.22.7 mod_un
load ARMv5 '
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 4:0:0:0: Direct-Access     Seagate  FreeAgent        0138 PQ: 0 ANSI: 4
sd 4:0:0:0: [sde] Spinning up disk....ready
sd 4:0:0:0: [sde] 3907029166 512-byte hardware sectors (2000399 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 1c 00 00 00
sd 4:0:0:0: [sde] Assuming drive cache: write through
sd 4:0:0:0: [sde] 3907029166 512-byte hardware sectors (2000399 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 1c 00 00 00
sd 4:0:0:0: [sde] Assuming drive cache: write through
sde: sde1
sd 4:0:0:0: [sde] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete

Have also tried running the mount commands with SDE and same result...Anyone have anyideas just need to mount this then can rip the contents of the HD onto it.

Last edited by teros (2011-08-25 18:06:46)

Offline

 

#2 2011-08-25 20:29:48

timezlicer
Member
Registered: 2008-09-02
Posts: 51
Website

Re: Mounting external NTFS drives issues

could you post output of lsmod
and dmesg when loading ntfs.ko

Offline

 

#3 2011-08-26 02:52:42

teros
New member
Registered: 2011-08-25
Posts: 4

Re: Mounting external NTFS drives issues

/mnt/HD_a2 # insmod ntfs.ko
/mnt/HD_a2 # lsmod
Module                  Size  Used by    Not tainted
ntfs                  225188  0
usb_storage            37124  1
usblp                  12960  0
sd_mod                 23856  18
ohci_hcd               17284  0
/mnt/HD_a2 #


Output dmesg

EXT3-fs: mounted filesystem with ordered data mode.
md: md0 stopped.
md: bind<sdb2>
md: bind<sdc2>
md: bind<sdd2>
md: bind<sda2>
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.

***************************************
*            HD1 stand by now!        *
***************************************

***************************************
*            HD0 stand by now!        *
***************************************

***************************************
*            HD3 stand by now!        *
***************************************

***************************************
*            HD2 stand by now!        *
***************************************

#######################################
#              HD1 awake now !        #
#######################################

#######################################
#              HD0 awake now !        #
#######################################

#######################################
#              HD3 awake now !        #
#######################################
usb_storage: version magic '2.6.6-arm2 ARMv5 gcc-3.3' should be '2.6.22.7 mod_u
load ARMv5 '
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 4:0:0:0: Direct-Access     Seagate  FreeAgent        0138 PQ: 0 ANSI: 4
sd 4:0:0:0: [sde] Spinning up disk....ready
sd 4:0:0:0: [sde] 3907029166 512-byte hardware sectors (2000399 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 1c 00 00 00
sd 4:0:0:0: [sde] Assuming drive cache: write through
sd 4:0:0:0: [sde] 3907029166 512-byte hardware sectors (2000399 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 1c 00 00 00
sd 4:0:0:0: [sde] Assuming drive cache: write through
sde: sde1
sd 4:0:0:0: [sde] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete

#######################################
#              HD2 awake now !        #
#######################################

***************************************
*            HD2 stand by now!        *
***************************************

***************************************
*            HD0 stand by now!        *
***************************************

***************************************
*            HD3 stand by now!        *
***************************************

#######################################
#              HD3 awake now !        #
#######################################

#######################################
#              HD0 awake now !        #
#######################################

***************************************
*            HD3 stand by now!        *
***************************************

#######################################
#              HD3 awake now !        #
#######################################

#######################################
#              HD2 awake now !        #
#######################################

***************************************
*            HD0 stand by now!        *
***************************************

***************************************
*            HD2 stand by now!        *
***************************************

***************************************
*            HD1 stand by now!        *
***************************************

***************************************
*            HD3 stand by now!        *
***************************************

#######################################
#              HD3 awake now !        #
#######################################

#######################################
#              HD1 awake now !        #
#######################################

#######################################
#              HD0 awake now !        #
#######################################
NTFS driver 2.1.28 [Flags: R/W MODULE].

Offline

 

#4 2011-08-26 04:52:42

timezlicer
Member
Registered: 2008-09-02
Posts: 51
Website

Re: Mounting external NTFS drives issues

is sde1 formatted as ntfs already?

Code:

# wget http://dns-343.googlecode.com/files/ntfs.ko
--2011-08-26 09:33:13--  http://dns-343.googlecode.com/files/ntfs.ko
Resolving dns-343.googlecode.com... 209.85.175.82
Connecting to dns-343.googlecode.com|209.85.175.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 269041 (263K) [application/octet-stream]
Saving to: `ntfs.ko'

100%[==========================================================>] 269,041      131K/s   in 2.0s

2011-08-26 09:33:16 (131 KB/s) - `ntfs.ko' saved [269041/269041]

# insmod ntfs.ko
# lsmod
Module                  Size  Used by
ntfs                  225188  0
usb_storage            37124  2
nfsd                  104808  6
exportfs                4768  1 nfsd
usblp                  12960  0
sd_mod                 23856  15
ohci_hcd               17284  0

# dmesg
NTFS driver 2.1.28 [Flags: R/W MODULE].

# ipkg install ntfsprogs
Installing ntfsprogs (1.13.1-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable/ntfsprogs_1.13.1-1_
arm.ipk
Configuring ntfsprogs
Successfully terminated.

# fdisk /dev/sde

Command (m for help): p

Disk /dev/sde: 4026 MB, 4026531840 bytes
124 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x5fd7052d

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1         138      530441    7  HPFS/NTFS
/dev/sde2             139        1022     3398096   83  Linux

# mkntfs /dev/sde1
Cluster size has been automatically set to 1024 bytes.
Initializing device with zeroes: 100% - Done.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

# /bin/mount -t ntfs /dev/sde1 /mnt/usb

# dmesg
NTFS volume version 3.1.

# mount
/dev/sde1 on /mnt/usb type ntfs (rw)

Last edited by timezlicer (2011-08-26 05:02:02)

Offline

 

#5 2011-08-26 05:37:26

teros
New member
Registered: 2011-08-25
Posts: 4

Re: Mounting external NTFS drives issues

Yep..Works perfectly on my comp and on a few mybook worlds...Basically need to mount the thing so i can migrate all my movies to it

Offline

 

#6 2011-08-26 05:48:34

timezlicer
Member
Registered: 2008-09-02
Posts: 51
Website

Re: Mounting external NTFS drives issues

as per the trace i attached above, it's working fine for me...
why not copy the files from your PC to the NAS via network instead of mounting directly?

Offline

 

#7 2011-08-26 10:45:57

teros
New member
Registered: 2011-08-25
Posts: 4

Re: Mounting external NTFS drives issues

ok got it working the only issue was not installing ntfsprogs is working now think i might need to put proper permissions on as i cant navigate uder the dir i am copying but can sort out later.

Offline

 

#8 2011-08-26 10:51:16

timezlicer
Member
Registered: 2008-09-02
Posts: 51
Website

Re: Mounting external NTFS drives issues

hmmm... ok

but sounds strange, i have installed ntfsprog to format my swap as ntfs to test
should not need it to mount

anyway, congrats that it's now working for you! :-)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB