|
Ok, so my old Fedora Cora 5 install got nuked (which is good I guess, as now I have to upgrade). The problem is I had a Raid-5 array.code:
code:
Also, for some reason I can't do poo poo like code:
code:
|
# ¿ Feb 3, 2008 02:22 |
|
|
# ¿ Apr 26, 2024 09:50 |
|
JoeNotCharles posted:First of all, you can just do "/sbin/mdadm". Secondly, check your PATH environment variable ("echo $PATH") - it probably has /bin but not /sbin in it. That's because /sbin is for system tools that most users don't need to use every day, so it's not in the default PATH. Cool. As for the array, I actually just code:
|
# ¿ Feb 3, 2008 06:28 |
|
I just tried to reassemble my array. Thanks MDADM for thinking "HEY HE SPECIFIED 4 DRIVES FROM A 4 DRIVE AWAY, ONE IS OBVIOUSLY A SPARE AND ONE OF THE ORIGINAL FOUR HAS FAILED. NOW I WILL START RECOVERY WITHOUT PROMPTING OR ANYTHING". Now I get to wait 10 hours for MDADM to "recover" to the spare that was a part of the array in the first place. Awesome.
|
# ¿ May 29, 2009 03:29 |
|
Ahahahaha. Reconstruction fails because apparently one of the drives is faulty. This rules so hard. Thanks for sucking poo poo MDADM.
|
# ¿ May 29, 2009 03:42 |
|
taqueso posted:Have you tried assembling the array using --force? The drive isn't actually faulty. The rebuild just keeps failing. I can --assemble --force with the 3 devices that it didn't randomly decide to write poo poo to and mount the array just fine. I tried to --zero-superblock the "spare" and then add it to the array to see if it would build correctly but the machine segfaulted. I'm having enough issues as it is (audio over HDMI plus this) and I'm seriously considering getting Windows Server 2k3 through DreamSpark and just using it. Although I can't grow arrays with Server2k3 which is a bit of a pain in the rear end.
|
# ¿ May 29, 2009 07:33 |
|
taqueso posted:Maybe there is a hardware issue? Possible. Only thing I can really test for is RAM however.
|
# ¿ May 29, 2009 19:19 |
|
I want to mount a device twice (once as normal once as read only). What is the best way to do this? I was thinking making a symlink to /dev/md0 (currently everything is using UDID) or could I simply mount by device and once by UDID?
|
# ¿ Dec 19, 2009 19:45 |
|
http://lwn.net/Articles/281157/ It is supposed to work, but it fails silently and the directory that is supposed to be read only isn't. code:
30 TO 50 FERAL HOG fucked around with this message at 20:25 on Dec 19, 2009 |
# ¿ Dec 19, 2009 20:20 |
|
code:
|
# ¿ Dec 19, 2009 20:37 |
|
What's the output of "fdisk -l"
|
# ¿ Dec 19, 2009 20:40 |
|
BiohazrD posted:http://lwn.net/Articles/281157/ code:
Now, how do I make this happen automatically? I can use bind as a mount type in fstab, but I can't execute the remount. 30 TO 50 FERAL HOG fucked around with this message at 20:53 on Dec 19, 2009 |
# ¿ Dec 19, 2009 20:47 |
|
Repost dmesg after disabling that stuff and replugging the device.
|
# ¿ Dec 19, 2009 20:49 |
|
It seems to have something to do with your Sansa player. There's actually quite a bit of info about it from the quick Googling I did. https://bugs.launchpad.net/ubuntu/+source/libgphoto2/+bug/355998 What distro are you using? There are two fixes that you could try, but one is Ubuntu only.
|
# ¿ Dec 19, 2009 20:58 |
|
So I have an MD array that I want to upgrade. For hardware reasons, I am limited to the number of drives I can add to the computer. My existing setup is 4x1.5TB RAID 5. I would like to add a 2TB drive, with a ~500GB partition for use as the boot "drive" and a ~1.5TB partition to be added to the array. The problem I see with this is that the drives in the existing array are block devices. Can I add a partition to an array that is currently using block devices? If not, could I simply create a loopback device pointing to the ~1.5TB partition and then add that to the array? Does anyone see any problems with this?
|
# ¿ Oct 6, 2010 04:26 |
|
I know you can grow an MD array. I'm more concerned as to if using a 2TB hard drive with two partitions in the array made up of 1.5TB block devices would be a problem.
|
# ¿ Oct 6, 2010 05:37 |
|
Misogynist posted:Expanding on what ShoulderDaemon said: your misuse/misunderstanding of the term "block device" here is probably the source of your confusion. A disk and a partition on that disk are both block devices. A block device is just any device that's block-addressable. This can be a disk, a SAN LUN, a partition on either of those, an MD RAID device, an LVM volume, a loopback-mounted file, and so on. Gotcha. Okay thanks for the help everyone.
|
# ¿ Oct 6, 2010 20:21 |
|
|
# ¿ Apr 26, 2024 09:50 |
|
I want to set up a SMB share on my home Ubuntu server and I'm just trying to find the best way to do it. I would essentially like two shares, one writable and one not writable (but both pointing to the same physical directory), with the writable only accessible by me, preferably using my existing Windows credentials and the read-only accessible to everyone (as in nobody has to enter any kind of password, they just browse to //server/share and it just works, i.e. guests). I actually do need two shares though, and not just different permissions based on the user because applications on my Windows machines would run as me and I don't necessarily want them to have write access. In addition, I would like files created on the server to have the proper permissions. I haven't done this in a while but I seem to remember that I used to run into a problem where Samba created the files with the owner being the user that Samba ran under on the server.
|
# ¿ Oct 29, 2010 03:47 |