**** BEGIN LOGGING AT Fri Jul 27 02:59:56 2007 Jul 27 03:06:05 anyone home? Jul 27 20:16:12 hey guys, I need some help with my nslu2. I had it working fine. but replaced the storage/share drive to allow for more space Jul 27 20:16:26 it was an ntfs drive, now I have this one I formatted with ext3 that I'd like to use isntead Jul 27 20:16:52 I plugged it in an dbooted, just need to know what to do for it to get recognized/mounted/shared Jul 27 20:18:09 Which OS? Jul 27 20:18:20 unslung 6.8 I think Jul 27 20:36:14 is there just a command I need to run to get it to work? Jul 27 20:38:06 does the web interface show it as mounted? Jul 27 20:39:01 no Jul 27 20:39:12 its not listed as mounted from ssh either Jul 27 20:39:55 I can mount it with mount /dev/sdb1 /mnt/tmpmnt though Jul 27 20:42:03 And does that work and let you read/write to the disk? Jul 27 20:45:48 let me try to make a dir Jul 27 20:47:57 yeah works Jul 27 20:48:05 so how do I get it mounted as a share? Jul 27 20:51:44 you could try to mount it under /share/hdd/data/share/public/new_hdd (eg) Jul 27 20:52:24 so it should be visible under \\slugs_name\disk 1\new_hdd Jul 27 20:53:21 er Jul 27 20:53:39 are you sure its .../data/share/public/... Jul 27 20:54:09 I thought it was just /share/hdd/data/HDD_1_1 or something like that Jul 27 20:55:08 assuming that your existing disk/mem stick is at port 1, then your public dir should be /share/hdd/data/public (or short /public), which is equal to the share \\slugis_name\disk 1 Jul 27 20:55:53 so the public dir doesnt even exist.. it might have before when I had the old drive attached Jul 27 20:56:32 hm, described your setup pls Jul 27 20:57:13 1gb flash in port 1 for unslung. port 2 previously had 250GB NTFS drive.. I replaced the 250 with a 500GB ext3 drive Jul 27 20:57:23 k Jul 27 20:57:31 so I just need the 500 to automount/share Jul 27 20:58:35 are you sure about port 1 vs port2? ntfs is only supported at port1?! Jul 27 20:58:56 oh sorry no Jul 27 20:58:59 the position confuses me Jul 27 20:59:07 so it is vice versa Jul 27 20:59:10 the top usb = port 2.. thats the usb drive Jul 27 20:59:22 bottom usb = port 1 = 500GB drive Jul 27 21:00:01 why would only ntfs be supported for a linux based NFS ? Jul 27 21:01:42 well, 1st there should be a share \\slugis_name\DISK 2 which is related to the physical location /share/flash/data/public Jul 27 21:02:48 there is nothing under /share/hdd/data/ its empty Jul 27 21:03:30 /share/flash/data/... Jul 27 21:03:57 lots of stuff in there Jul 27 21:04:14 but public is empty Jul 27 21:04:25 ls /share/flash/data/public/ Jul 27 21:04:25 -bash-3.2# Jul 27 21:04:51 k, so the share \\slugis_name\disk 2 should be empty too?! Jul 27 21:05:20 you mean through samba or in the web inferface/shares section Jul 27 21:05:30 samba Jul 27 21:06:13 assuming, that you working in an windows environment Jul 27 21:11:39 its empty Jul 27 21:11:50 this is what I went to\\Lkg6acaf8\disk 2 Jul 27 21:12:03 it didnt error or anything, just came up as an empty dir Jul 27 21:15:06 create a new dir in /share/flash/data/public eg new_disk, then mount the new disk onto this directory mount /dev/sdb1 /share/flash/data/public/new_disk, and create a start up script which does this automagically at each restart of your nslu Jul 27 21:15:33 maybe /opt/etc/init.d/S99_mountdisc Jul 27 21:15:40 #!/bin/sh Jul 27 21:16:05 mount /dev/sdb1 /share/flash/data/public/new_disk Jul 27 21:16:10 exit Jul 27 21:16:41 is that something I can just add to rc.local? Jul 27 21:19:27 maybe that it work too, but /opt/etc/init.d is recommended Jul 27 21:21:31 ok Jul 27 21:21:34 now reboot? Jul 27 21:22:30 why, i don't know, what you did before, made the directory, mount the drive, done som etesting? Jul 27 21:23:18 thats it Jul 27 21:23:33 I think the ftp does not work now though Jul 27 21:24:14 k, so you're able to store a new file in your share \\slugis_name\disk 2\new_disk Jul 27 21:24:38 no Jul 27 21:24:42 says access denied Jul 27 21:24:48 so its readonly right now apparently Jul 27 21:25:05 I cant even get into that test dir I made Jul 27 21:25:08 so it oculd be permissions Jul 27 21:25:55 who is the owner of /share/flash/data/public/new_disk? should be admin and the group should be everyone Jul 27 21:26:20 drwxr-xr-x 4 root root 4096 Jul 27 13:56 big_hdd Jul 27 21:26:49 chmoded Jul 27 21:28:39 owner should be admin, and the group should be everyone, so use chown admin.everyone /share/flash/data/public/big_hdd Jul 27 21:28:48 yeah still cant write to it via windows Jul 27 21:29:43 drwxr-xr-x 4 admin everyone 4096 Jul 27 13:56 big_hdd Jul 27 21:30:00 should it be set to 775 ? Jul 27 21:30:06 yep Jul 27 21:31:18 bingo Jul 27 21:31:41 so, you have write access via the samba share? Jul 27 21:31:43 so, typically arent shared drives mounted under /share/hdd instead of /share/flash ? Jul 27 21:31:49 yes I have write access via samba Jul 27 21:32:17 basically that depends on the port where you plugged the storage media in Jul 27 21:32:45 port1 is /share/hdd/data port2 /share/flash/data Jul 27 21:33:18 hm. ok Jul 27 21:33:18 which related to the samba shares \\slug\disk 1 and \\slug\disk 2 Jul 27 21:33:56 so now vsftpd is pointing to the path of the old drive.. in share/hdd.. but I dont see that inthe config for it Jul 27 21:33:59 now, the next step is make it mount automagically Jul 27 21:34:05 oh yeah Jul 27 21:34:17 well doesnt that happen with the script I created in init.d ? Jul 27 21:34:46 yeah, if you made this file before, and chmod it to 777 Jul 27 21:35:04 did that already :) Jul 27 21:35:25 755 though like all the others Jul 27 21:35:39 777 would be a bit of a security risk if this were a mutli user machine heh Jul 27 21:35:45 k, then it may be time for a reboot Jul 27 21:35:59 just to see,that it works Jul 27 21:37:07 before I do that Jul 27 21:37:20 I'd like to have it mount the drive in journal mode instead of ordered Jul 27 21:37:54 and make any changes to get vsftpd to work properly so I dont need to restart again Jul 27 21:39:54 focused to vsftpd, what are your issues? haven't had any thoughts about journal mode before Jul 27 21:40:02 I thinkI foudn the issue with that Jul 27 21:40:05 just a change in passwd Jul 27 22:39:10 thanks for your help caplink811-log Jul 28 02:40:23 is there any reason I couldnt just add my ext3 storage drive to /etc/fstab instead of making an init.d script that mounts it? Jul 28 02:41:05 Yeah, it won't stay. Jul 28 02:41:46 hrm Jul 28 02:42:56 so, is there a way I can use mode=journal with the mount command for that drive? Jul 28 02:48:43 ? Isn't that just ext3 instead of ext2? **** ENDING LOGGING AT Sat Jul 28 02:59:56 2007