What's new

FAT32 USB 2.0 drive mounted but neither FTP nor SMB shares working

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

2000wolf

Regular Contributor
Hi there, I've got another strange issue:

My USB drive is detected and mounted (according system log) but when I go to the Media Server pages where I can activate FTP or Samba shares and add user accounts etc. that drive is not available.

Am I the only user suffering from that issue?

As mentioned in other posts (no guest WLAN...) my RT-N66U behaves a little bit strange though clearing NVRAM after flashing .178 and afterwards .178.15.
 
Does the drive have either multiple partition, or is a drive that comes with a special "hidden" partition that emulates a CD-ROM drive (some do that to store special backup software on it)?

What does the following command returns (change sda for sdb or sdc depending on what device your USB disk is):

echo "p" | fdisk /dev/sda
 
Hi RMerlin,

Thank's for your fast reply; that are the results :

The number of cylinders for this disk is set to 1096.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):
Disk /dev/sdb: 8044 MB, 8044675072 bytes
256 heads, 56 sectors/track, 1096 cylinders
Units = cylinders of 14336 * 512 = 7340032 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1096 7855044 b Win95 FAT32



... and echo "p" | fdisk /dev/sdb1 provides the following:

Disk /dev/sdb1: 8043 MB, 8043565056 bytes
248 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15376 * 512 = 7872512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1p1 ? 114997 225638 850605874+ 6e Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 114, 46) logical=(114996, 140, 38)
Partition 1 has different physical/logical endings:
phys=(10, 255, 13) logical=(225637, 71, 48)
Partition 1 does not end on cylinder boundary
/dev/sdb1p2 ? 127064 190846 490354992+ ff Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(370, 108, 37) logical=(127063, 49, 24)
Partition 2 has different physical/logical endings:
phys=(78, 13, 10) logical=(190845, 16, 22)
Partition 2 does not end on cylinder boundary
/dev/sdb1p3 ? 117176 128144 84326194+ 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(371, 84, 33) logical=(117175, 8, 19)
Partition 3 has different physical/logical endings:
phys=(100, 101, 32) logical=(128143, 144, 7)
Partition 3 does not end on cylinder boundary
/dev/sdb1p4 187675 187678 27106 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(187674, 92, 25)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(187677, 222, 48)
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order
 
From what I can see there's indeed only one partition visible. Have you looked at syslog for any actual error message that might give a hint as to what's wrong?

That second fdisk command returned garbage because you told it to display the partition table of a partition - that doesn't work, the partition table is only at the actual device level, not inside a partition.
 
Hi RMerlin,

That's my most current syslog:
"...
...
Jan 1 00:00:07 kernel: sflash: found no supported devices
Jan 1 00:00:07 kernel: dev_nvram_init: _nvram_init
Jan 1 00:00:07 kernel: _nvram_init: allocat header: 2280783872, size= 65536
Jan 1 00:00:07 kernel: sdhci: Secure Digital Host Controller Interface driver
Jan 1 00:00:07 kernel: sdhci: Copyright(c) Pierre Ossman
Jan 1 00:00:07 kernel: u32 classifier
Jan 1 00:00:07 kernel: OLD policer on
Jan 1 00:00:07 kernel: Netfilter messages via NETLINK v0.30.
Jan 1 00:00:07 kernel: nf_conntrack version 0.5.0 (2048 buckets, 16384 max)
Jan 1 00:00:07 kernel: ipt_time loading
Jan 1 00:00:07 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 00:00:07 kernel: net/ipv4/netfilter/tomato_ct.c [Aug 17 2012 20:53:01]
Jan 1 00:00:07 kernel: NET: Registered protocol family 1
Jan 1 00:00:07 kernel: NET: Registered protocol family 10
Jan 1 00:00:07 kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 00:00:07 kernel: NET: Registered protocol family 17
Jan 1 00:00:07 kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Jan 1 00:00:07 kernel: All bugs added by David S. Miller <davem@redhat.com>
Jan 1 00:00:07 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 00:00:07 kernel: Freeing unused kernel memory: 200k freed
Jan 1 00:00:07 kernel: Warning: unable to open an initial console.
Jan 1 00:00:07 kernel: ctf: module license 'Proprietary' taints kernel.
Jan 1 00:00:07 kernel: et_module_init: passivemode set to 0x0
Jan 1 00:00:07 kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.20
Jan 1 00:00:07 kernel: wl_module_init: passivemode set to 0x0
Jan 1 00:00:07 kernel: PCI: Enabling device 0000:01:01.0 (0000 -> 0002)
Jan 1 00:00:07 kernel: eth1: Broadcom BCM4331 802.11 Wireless Controller 5.100.138.20
Jan 1 00:00:07 kernel: PCI: Enabling device 0000:02:01.0 (0000 -> 0002)
Jan 1 00:00:07 kernel: eth2: Broadcom BCM4331 802.11 Wireless Controller 5.100.138.20
Jan 1 00:00:07 kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 00:00:07 kernel: usbcore: registered new interface driver usbfs
Jan 1 00:00:07 kernel: usbcore: registered new interface driver hub
Jan 1 00:00:07 kernel: usbcore: registered new device driver usb
Jan 1 00:00:07 kernel: SCSI subsystem initialized
Jan 1 00:00:07 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:07 kernel: usbcore: registered new interface driver usb-storage
Jan 1 00:00:07 kernel: USB Mass Storage support registered.
Jan 1 00:00:07 kernel: ufsd: driver 8.5 (U85_S[2011-11-01-13:41:37]) LBD=ON with ioctl loaded at c0217000
Jan 1 00:00:07 kernel: NTFS support included
Jan 1 00:00:07 kernel: Built_for__asus_n66u_2011-10-27
Jan 1 00:00:07 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan 1 00:00:07 kernel: ehci_hcd 0000:00:04.1: EHCI Host Controller
Jan 1 00:00:07 kernel: ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
Jan 1 00:00:07 kernel: ehci_hcd 0000:00:04.1: EHCI Fastpath: New EHCI driver starting
Jan 1 00:00:07 kernel: ehci_hcd 0000:00:04.1: irq 6, io mem 0x18004000
Jan 1 00:00:07 kernel: ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
Jan 1 00:00:07 kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:07 kernel: hub 1-0:1.0: USB hub found
Jan 1 00:00:07 kernel: hub 1-0:1.0: 2 ports detected
Jan 1 00:00:07 kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan 1 00:00:08 kernel: ohci_hcd 0000:00:04.0: OHCI Host Controller
Jan 1 00:00:08 kernel: ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
Jan 1 00:00:08 kernel: ohci_hcd 0000:00:04.0: irq 6, io mem 0x18009000
Jan 1 00:00:08 kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 1 00:00:08 kernel: hub 2-0:1.0: USB hub found
Jan 1 00:00:08 kernel: hub 2-0:1.0: 2 ports detected
Jan 1 00:00:08 kernel: usbcore: registered new interface driver usblp
Jan 1 00:00:08 kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Jan 1 00:00:08 sd-idle-2.6[433]: initialized
Jan 1 00:00:08 kernel: usbcore: registered new interface driver asix
Jan 1 00:00:08 kernel: usb 1-1: new high speed USB device using ehci_hcd and address 2
Jan 1 00:00:08 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:00:08 kernel: hub 1-1:1.0: USB hub found
Jan 1 00:00:08 kernel: hub 1-1:1.0: 4 ports detected
Jan 1 00:00:08 kernel: usbcore: registered new interface driver cdc_ether
Jan 1 00:00:08 kernel: usbcore: registered new interface driver net1080
Jan 1 00:00:08 kernel: usbcore: registered new interface driver rndis_host
Jan 1 00:00:08 kernel: usbcore: registered new interface driver zaurus
Jan 1 00:00:08 kernel: register_vlan_device: ALREADY had VLAN registered
Jan 1 00:00:08 kernel: br0: starting userspace STP failed, staring kernel STP
Jan 1 00:00:08 kernel: vlan1: dev_set_promiscuity(master, 1)
Jan 1 00:00:08 kernel: device eth0 entered promiscuous mode
Jan 1 00:00:08 kernel: device vlan1 entered promiscuous mode
Jan 1 00:00:08 kernel: usb 1-1.1: new high speed USB device using ehci_hcd and address 3
Jan 1 00:00:08 kernel: device eth1 entered promiscuous mode
Jan 1 00:00:08 kernel: usb 1-1.1: configuration #1 chosen from 1 choice
Jan 1 00:00:08 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:08 kernel: usb 1-1.4: new high speed USB device using ehci_hcd and address 4
Jan 1 00:00:08 kernel: device eth2 entered promiscuous mode
Jan 1 00:00:08 kernel: br0: port 3(eth2) entering listening state
Jan 1 00:00:08 kernel: br0: port 2(eth1) entering listening state
Jan 1 00:00:08 kernel: br0: port 1(vlan1) entering listening state
Jan 1 00:00:08 kernel: br0: port 3(eth2) entering learning state
Jan 1 00:00:08 kernel: br0: port 2(eth1) entering learning state
Jan 1 00:00:08 kernel: br0: port 1(vlan1) entering learning state
Jan 1 00:00:08 kernel: br0: topology change detected, propagating
Jan 1 00:00:08 kernel: br0: port 3(eth2) entering forwarding state
Jan 1 00:00:08 kernel: br0: topology change detected, propagating
Jan 1 00:00:08 kernel: br0: port 2(eth1) entering forwarding state
Jan 1 00:00:08 kernel: br0: topology change detected, propagating
Jan 1 00:00:08 kernel: br0: port 1(vlan1) entering forwarding state
Jan 1 00:00:08 kernel: usb 1-1.4: configuration #1 chosen from 1 choice
Jan 1 00:00:08 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 1 00:00:08 RT-N66U: start httpd
Jan 1 00:00:08 notify_rc : stop_ntpc
Jan 1 00:00:08 notify_rc : start_ntpc
Jan 1 00:00:08 rc_service: start_ntpc is waitting stop_ntpc...
Jan 1 00:00:08 crond[503]: crond: crond (busybox 1.17.4) started, log level 8
Jan 1 00:00:10 kernel: scsi 1:0:0:0: Direct-Access Multi Flash Reader 1.00 PQ: 0 ANSI: 0
Jan 1 00:00:10 kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Jan 1 00:00:10 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Jan 1 00:00:10 kernel: scsi 0:0:0:0: Direct-Access 1100 PQ: 0 ANSI: 4
Jan 1 00:00:10 kernel: sd 0:0:0:0: [sdb] 15712256 512-byte hardware sectors (8045 MB)
Jan 1 00:00:10 kernel: sd 0:0:0:0: [sdb] Write Protect is off
Jan 1 00:00:10 kernel: sd 0:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 00:00:10 kernel: sd 0:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 00:00:10 kernel: sdb: sdb1
Jan 1 00:00:10 kernel: sd 0:0:0:0: [sdb] Attached SCSI removable disk
Jan 1 00:00:10 kernel: sd 0:0:0:0: Attached scsi generic sg1 type 0
Sep 3 19:33:59 hotplug[570]: USB vfat fs at /dev/sdb1 mounted on /tmp/mnt/sdb1
Sep 3 19:33:59 notify_rc : restart_nasapps
Sep 3 19:33:59 FTP Server: daemon is stoped
Sep 3 19:33:59 Samba Server: smb daemon is stoped"

Can you detect something strange?
 
Nothing particular in that log. Maybe something related to the drive volume name? Try renaming it in case it might have some special characters in its name that doesn't agree with the webui.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top