**** BEGIN LOGGING AT Mon Jul 07 02:59:57 2008 Jul 07 14:04:05 on slugos, i want to try raid1 on a usb drive pair Jul 07 14:04:11 so i am reading http://www.nslu2-linux.org/wiki/HowTo/RAID1OnSlugOS Jul 07 14:22:55 does raid1 really help when one of the mirrored drives goes down? by that i mean, doesn't the root have to be under raid1 as well? Jul 07 14:24:12 it looks like in the unslung example, the / is under raid1 Jul 07 14:24:22 http://www.nslu2-linux.org/wiki/HowTo/Raid1onUnslung6 Jul 07 14:42:10 Yes, for raid1 to be effecive, all the partitions on the physical device should be mirrored. Jul 07 14:43:16 mwester: can turnup disk -i /dev/md0 -t ext3 work? Jul 07 14:43:32 that is, can turnup disk write to a mirror partition? Jul 07 14:43:42 how can it be possible I can log in from within lan with a external ip, but not with the internal ,ssh.uh. Jul 07 14:44:01 and same user to. Jul 07 14:44:18 You can try it - but you'll need to make sure that all the drivers are added to the internal flash first; that may be tricky. Jul 07 14:44:54 mwester: right, there may be a space issue, i guess. thanks for pointing that out... Jul 07 14:45:49 There's stuff you can get rid of, the worst is that you'll have to reflash and start again. Jul 07 14:46:05 And performance stinks. Jul 07 14:46:48 (The NSLU2 is constrained by the CPU while processing the USB data, so dual-writes really hurts it.) Jul 07 14:55:34 mwester: do i have to run turnup preserve after i download the packages? Jul 07 14:55:49 mwester: in order to keep them in flash? Jul 07 14:55:52 No Jul 07 14:56:25 mwester: ok, thanks. there was enough room, with 564k to spare Jul 07 14:58:28 * chrisb is glad to see that shutdown -h -P now powers everything down... Jul 07 15:09:37 4444444444 Jul 07 15:33:02 does slugos support UUID or Label labeling of disk partitions? Jul 07 15:33:13 * chrisb goes off to look some more Jul 07 15:42:45 sorry for thoose 4:s I --got to many windows Jul 07 15:56:25 chrisb: Yes, it does. But due to bad interactions in some corner cases, it's not as simple as just adding a mount point to the fstab. You may have to edit the mount.sh file in the /etc/udev directory. Jul 07 16:57:22 hi guys... i'm in the crappy position of wanting to do something advanced (raid1) with unslung firmware but not having much of any linux knowledge to back it up. Has anyone here had any experience setting up RAID 1 with unslung 6? Jul 07 16:57:59 i bought a slug in the hopes I could set it up as a portable svn server... and the data is pretty important so I wanted to do RAID1 with two 16GB USB flash drives Jul 07 16:58:33 I could do periodic backups I guess but the data changes quite often so that is not ideal Jul 07 16:59:25 there is a walkthrough in the wiki but first I have a question... Jul 07 17:00:04 the notes in the wiki about what drive to unsling to talks about problems with both ports having ext3 formatted disks Jul 07 17:00:27 it says the only real solution is to mount the file system of one disk underneath the root of the other Jul 07 17:00:32 (from my recollection) Jul 07 17:01:08 however, the raid1 how-to in the wiki mentions nothing about that process so should I assume the problems with both drives being ext3 don't apply to a raid1 scenario? Jul 07 17:02:31 Use another os? Jul 07 17:02:54 heh well unslung was appealing due to my general linux n00bishness Jul 07 17:03:31 since there are premade packages available for everything Jul 07 17:03:50 for most of the os's there are :) Jul 07 17:04:10 so what do you suggest? slugos? Jul 07 17:05:01 i guess i'm not opposed to whatever can get me there... in my experience with svnsrv it doesnt really need much of any ongoing maintenance. I hope to set the thing up and then not have to worry about it Jul 07 17:07:08 Raid on unslung is really more like one of those things that was done just to see if it could be done. It can be done, but it's hopelessly impractical for so many reasons. Jul 07 17:07:44 You want SlugOS, and you'll find that the command line isn't so daunting when you work on an OS that behaves a lot like a real Linux device (instead of Unslung). Jul 07 17:07:49 * chrisb is bailing out of raid1 on slugos root partition for now Jul 07 17:07:56 heh Jul 07 17:09:00 well i dont suppose theres anything resembling a write-up of how to get raid going on slugos is there? Jul 07 17:09:21 i realize its not a trivial thing so I hate to ask someone to handhold me through it Jul 07 17:10:13 luv2chill, community "rules" state, that if someone does that, and a wiki guide doesnt exist, your supposed to write it to the best of your notes/guidance ;) Jul 07 17:10:13 Search the wiki. It's much easier if you don't try to mirror the root filesystem. Jul 07 17:10:28 heh ok Jul 07 17:11:05 I cannot attest to the quality of any wiki articles on this, as most of the folks who try it are fairly experienced Linux users and their idea of a "helpful" article may not be yours... Jul 07 17:11:41 :) well I guess if I have specific questions I can ask you fine people for help along the way right? :D Jul 07 17:12:18 but as far as the partitions go then I should just worry about trying to mirror my data partition then? Jul 07 17:12:26 Sure, just be patient -- many lurk and only occasisionaly look in this window. Jul 07 17:12:35 ah sure thats fine Jul 07 17:13:02 luv2chill, you might want 3 disks (using a usb hub) Jul 07 17:13:13 so you can have the 2 drives mirrored and an os/similar drive Jul 07 17:13:16 http://www.nslu2-linux.org/wiki/HowTo/RAID1OnSlugOS Jul 07 17:13:20 ah Jul 07 17:13:47 that's a thought... do you think the slug would have any problem powering three largish NAND flash drives? Jul 07 17:13:55 or do I need a powered hub? Jul 07 17:13:59 2 would be fine Jul 07 17:14:03 3 might, or might not Jul 07 17:14:17 see if you can find the power usage of the memory sticks Jul 07 17:14:18 well I guess the slugos drive wouldn't need to be very big Jul 07 17:14:34 remember, 500mA per usb port is the max Jul 07 17:14:39 yeah Jul 07 17:15:56 and the hub needs to be on port1 or is that only an unslung (because it's based on linksys firmware) restriction? Jul 07 17:16:23 only unslung/linksys Jul 07 17:16:34 so you can have it on whatever Jul 07 17:16:39 ok... Jul 07 17:16:49 thanks for the help guys... I'll check out the wiki Jul 07 17:22:17 which samba ipkg? i want to serve and browse some directories on the nslu2 to windows machines on the network Jul 07 17:22:29 there is samba, samba2, samba-server Jul 07 17:22:38 samba-server, i think Jul 07 17:24:15 there is also this nas-server-samba package Jul 07 18:20:03 Hello Everyone Jul 07 18:20:30 What is the best option to run; openslug 4.8 or Debian on the nslu2 Jul 07 18:21:31 Or is it what you want (there is no best OS for the nslu2) I am running now 3.10.... Jul 07 18:29:17 I love 3.10 because i can native compile packages, but 3.10 gets old. Jul 07 20:34:43 should I see compatibility problems between samba 3.0.23c and 3.0.30 ? Jul 07 20:35:12 because i think i am. the 3.0.23c is running on a nslu2 Jul 07 20:35:28 and the 3.0.30 on a linux x86 debian box Jul 07 20:50:39 Hi, i had problems with the old nslu2 package. Jul 07 20:51:12 The standard package don't understand the unixextentsions Jul 07 20:51:40 So you can't mount it with the normal options. Jul 07 20:52:00 Compiling a new Samba solves the problem. Jul 07 20:52:23 i think there was a work around postd on the mailing list Jul 07 20:52:45 Yep Jul 07 20:53:03 A part of the new binary Jul 07 20:54:33 http://tech.groups.yahoo.com/group/nslu2-general/message/7458 Jul 07 20:54:39 hmm, maybe not the same Jul 07 20:59:56 no, it was not the problem i head. I coudn't mount the nslu2 anymore after upgrading my pc to SuSE-11. Jul 07 21:01:07 On Ubuntu and M$ it works perfect, but not with SuSE-11. Jul 07 22:25:56 thanks Jul 07 23:05:26 ah, i just noticed that my /var/lib/ipkg/cross file is 3meg and my /var/lib/ipkg/native file is empty Jul 07 23:06:09 why is the list of native apps empty? Jul 07 23:06:20 it's slugosbe Jul 07 23:08:12 There are no packages that require native building any longer. Jul 08 00:18:26 mwester: that's great. thanks for that answer **** ENDING LOGGING AT Tue Jul 08 02:59:57 2008