175 reputation
6
bio website
location Denmark
age
visits member for 2 years, 9 months
seen Aug 12 at 10:20

Aug
27
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
I just tried naming them md0/md2 (and running update-initramfs -u) and after a reboot the result is the same. The stripe/mirror names are symlinks in /dev/md/ to /dev/md0 and /dev/md2, respectively, anyway, so I don't think this should have an influence. This seems like a bug in Ubuntu. I've reported the bug as bugs.launchpad.net/bugs/1217344. The bug you reference is similar, but my problem is not that the RAID1 is not started - it's started, and running mdadm --assemble --scan makes no difference. The problem is that the RAID0 device is not added to the RAID1 device.
Aug
27
accepted Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Aug
27
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
I still get the "WARNING: degraded RAID devices detected" message when booting. I've tried doing what's described in this answer: askubuntu.com/a/209750/9567 but it doesn't make a difference. Here's how everything looks when it's running fine: pastebin.com/VS1AHbd0 and here's how it looks after a reboot: pastebin.com/VxyK8kD1 Here's the relevant part of dmesg: pastebin.com/5t6AbR2N. So it looks like md0 is assembled first, as it should be, but md2 is assembled with "active with 1 out of 2 mirrors".
Aug
26
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
After adding the RAID0 array to the RAID1 array and growing the array, I shut down my computer. Now when I boot up I get a message on boot saying I have a faulty array, and /proc/mdstat looks like this for the RAID1 array: md127 : active (auto-read-only) raid1 sdb1[0] 1953382488 blocks super 1.2 [2/1] [U_]. I can't figure out what's wrong here.
Aug
25
awarded  Editor
Aug
25
revised Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Added point about waiting for the RAID1 to resync after adding the RAID0 device.
Aug
25
suggested suggested edit on Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Aug
25
awarded  Commentator
Aug
25
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Just finished overwriting the 2 TB drive with data from /dev/urandom (yeah I went that route) 2000398934016 bytes (2.0 TB) copied, 208934 s, 9.6 MB/s. I figure I only need to do it once, and I might as well do it properly. Copying files now.
Aug
25
awarded  Supporter
Aug
21
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Thanks! I'm going to try this and report back.
Aug
21
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
@frostschutz Just because data isn't "important" doesn't mean I don't mind it being gone.
Aug
21
comment Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
@frostschutz The data is not encrypted currently. The thing with a backup though is that it makes the whole operation redundant. If I had a drive that I could backup the 1 TB of data to, I wouldn't need to go through all the hoops to preserve the data using only these three disks.
Aug
19
asked Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?
Jun
2
awarded  Scholar
Jun
2
accepted Which set of commands will limit the outgoing data rate to X kbps for traffic to or from port Y?
Jun
2
answered Which set of commands will limit the outgoing data rate to X kbps for traffic to or from port Y?
Jun
2
comment Why don't the following commands work to limit traffic to port 21 using tc?
@frostschutz There are two connections to port 21 to the host in question - 194.192.207.26. One for data, one for the control connection. 194.192.207.26 is the FTP server.
Jun
1
comment Why don't the following commands work to limit traffic to port 21 using tc?
@HaukeLaging How does this explain the fact that the FTP traffic isn't limited at all? Nothing seems limited with the above script. Also, I can't figure out how to make a non-matching filter.
Jun
1
comment Why don't the following commands work to limit traffic to port 21 using tc?
@frostschutz As you can see from the netstat output, the destination port is 21. Unless I can't count on that information?