Unable to automount ext3 formated usb disk
I have a NAS from WD that runs some stripped down flavor of linux. The NAS has one USB port at the back which can be used to expand the storage. If I plug in an external disk formated in either NTFS or HFS+ then the system automatically mounts the disk and shares it over samba. If I plug in a disk that is formated in ext3, the disk is recognized but that's about it. It doesn't mount or get shared or anything. I have tried asking WD about this and I have tried asking google. But after two days of searching I am turning here for some more expert advice.
Here is what I've managed to figure out so far. If I check dmesg before and after plugging in the ext3 usb disk I have found out that these lines are added to the log: Code:
usb 1-1: new high speed USB device using oxnas-ehci and address 2 If I run the command "mount -a" I get the following messages from the shell: "mount: Cannot read /etc/fstab: No such file or directory" Hover I am able to mount the ext3 disk manually. First I get this info from fdisk Code:
fdisk -l Code:
[root@NAS01 /]# mkdir /shares/external/usb1 Since I'm pretty new to linux I don't know what to try next so I'm hoping for some advice as to what I can do to make the ext3 usb disk automount. |
Hi
Quote:
To persist it being mounted (in the case of a shutdown/reboot), add the following line to you4 /etc/fstab on the NAS: Code:
/dev/sdb1 /shares/external/usb1 ext3 defaults 0 0 |
Well, the thing is that if I plug in an NTFS or HFS+ usb disk the NAS 100% automatically mounts the disk and shares it over samba without me having to do anything. I would like this same functionality for my ext3 disk. I wasn't expecting the ext3 disk to show up in samaba when I mounted it manually, but there is obviously some script that does all this for drives with other filesystems.
Secondly, I don't actually have a fstab file on my system. Should I create one and input the info you provided? What I have noticed is that the system automatically deletes the /external/ folder every time the system reboots. Would that affect the info that is written in fstab? |
Hi
Can you provide the exact make/model of your NAS? Quote:
|
The NAS I have is a WesternDigital MyBook World Edition II White Light. It has one 2TB internal disk. It runs on a quite low powered arm processor. I have root access to it through ssh and there is a optware feed with packages specifically compiled for it so there is quite a bit of functionality there.
|
Is there a way to identify which script successfully mounts and shares NTFS and HFS+ disks? Maybe if I could find that script and take a look at it we could identify why it's not working for ext3 disks?
|
According to another source it is possible to successfully run the mount script on an ext3 drive if you specify ext3 as the filesystem. Unfortunately the source doesn't say which script this is nor how you specify it with ext3. Any thoughts on this?
|
All times are GMT -5. The time now is 04:09 PM. |