My day, a one-act play.
Dec. 28th, 2011 12:43 pm[Voiceover: In The Past]
Linux: I am out of disk space, woe.
Me: New hard drives, ho!
[Scene: A desk. With a computer on it. And me.]
BIOS: Love the new hard drives, boss!
Linux: I don't understand those drives, they aren't partitioned.
Me: Partition them!
Linux: Okay, but I don't understand those drives, they aren't partitioned.
Me: Dammit. GParted, get in here!
GParted: SIR REPORTING FOR DUTY SIR! WHOOOOOOOO!
Me: Parition and format these drives!
GParted: SIR WHAT DRIVES SIR?
Me: [facepalm] GParted, go get me a version newer than 2005.
GParted: SIR UPDATED! OH, THOSE DRIVES! YES SIR! PARTITIONING AND FORMATTING THEM NOW! GUNG HO.... DONE! SIR!
Me: Those drives are partitioned, but not formatted.
GParted: SIR WHAT DRIVES, SIR?
Me: Oh, shut up. BIOS!
BIOS: Love the new hard drives, boss. They really bring the awesome.
LiveCD: Dave's not here, man.
Linux: I can't read those drives. They're partitioned with a size of zero. And no partitions. And an unreadable partition table.
Me: So fix it?
Linux: I can't. Why do you hate me? What drives?
Me: Oi.
[scene change. Lights dim to show time passing]
BIOS: A new version? For me? I LOVE it! Best idea ever, boss. And I still love those nice new hard disks. Whoo, new version, I'm getting my 2010 on!
GParted: SIR THOSE DISKS DO NOT EXIST. THEY ARE PROBABLY COMMUNISTS SIR.
LiveCD: Dave's NOT HERE, man.
Linux: I am writing poetry. About mean people who yell at me for disks that don't make any sense. And those disks have a lousy partition table.
Me: Aw, fuckit. Windows!
[enter Windows 7]
Windows: Oooh, those disks have a lousy partition table.
Me: [speaking with face in desk] Yes, Windows. They do.
Windows: Well, let me fix that for you. How many partitions? What size? Would you like me to format them? I like NTFS, but I'm okay with something else.
Me: Yay! How about something else?
Windows: NTFS OR I WILL CUT A BITCH.
Me:.... hoookay, NTFS it is. I don't care, as long as they're partitioned. Linux can handle mkfs, even if fdisk is apparently too complicated today.
Windows: All done! Partitions made, here's your exact lists, and I even threw in a quick format.
BIOS: Whoooo, I LOVE the new hard disks, boss
Linux: I can't read those drives. They're partitioned with a size of zero. And no partitions. And an unreadable partition table. And squirrels are often cruel to me.
Windows: Those look just fine to me. I can read and write to them, see? Now you try it.
Linux: You're not my mom!
LiveCD: I keep telling you, Dave's not here, man.
[exeunt]
=================================
So, yeah.
dmesg shows the drives showing up just fine, but notes that they're big (1.5TB drives). Still, this shouldn't be a problem - OS is Ubuntu 8.0.4.4. Bios sees the drives just fine. GParted saw the drives *briefly* but not any more. Plugging the drives into Windows using a SATA-to-USB adapter works just fine, lets me partition and format them, etc. The drives work just fine, the BIOS should be able to handle a large disk and is up to date anyway.
"fdisk /l" doesn't show the two new hard disks.
"fdisk /dev/sda" or sdb gives "unable to read /dev/sda". sfdisk shows *ZERO* cylinders. Switching the HDD handling in the BIOS from IDE to AHCI and back doesn't change the behaviour.
The only slightly unusual thing here is that the new drives are SATA, the old disk is IDE. Still, that shouldn't matter! Linux sees all three drives, it just thinks the two new ones are made of garbage.
Edit: Connecting the SATA drive to the linux OS using the SATA-to-USB converter (yes I ran a wire from the inside of the case around to plug into the front of the case STOP JUDGING ME) works. It can see *that* drive, no problem. And a fresh install of Ubuntu can't detect the HDDs, even with the IDE drive is disconnected. So! I think the problem is found: Linux hates SATA.
That's the conclusion I've reached, anyway.
Linux: I am out of disk space, woe.
Me: New hard drives, ho!
[Scene: A desk. With a computer on it. And me.]
BIOS: Love the new hard drives, boss!
Linux: I don't understand those drives, they aren't partitioned.
Me: Partition them!
Linux: Okay, but I don't understand those drives, they aren't partitioned.
Me: Dammit. GParted, get in here!
GParted: SIR REPORTING FOR DUTY SIR! WHOOOOOOOO!
Me: Parition and format these drives!
GParted: SIR WHAT DRIVES SIR?
Me: [facepalm] GParted, go get me a version newer than 2005.
GParted: SIR UPDATED! OH, THOSE DRIVES! YES SIR! PARTITIONING AND FORMATTING THEM NOW! GUNG HO.... DONE! SIR!
Me: Those drives are partitioned, but not formatted.
GParted: SIR WHAT DRIVES, SIR?
Me: Oh, shut up. BIOS!
BIOS: Love the new hard drives, boss. They really bring the awesome.
LiveCD: Dave's not here, man.
Linux: I can't read those drives. They're partitioned with a size of zero. And no partitions. And an unreadable partition table.
Me: So fix it?
Linux: I can't. Why do you hate me? What drives?
Me: Oi.
[scene change. Lights dim to show time passing]
BIOS: A new version? For me? I LOVE it! Best idea ever, boss. And I still love those nice new hard disks. Whoo, new version, I'm getting my 2010 on!
GParted: SIR THOSE DISKS DO NOT EXIST. THEY ARE PROBABLY COMMUNISTS SIR.
LiveCD: Dave's NOT HERE, man.
Linux: I am writing poetry. About mean people who yell at me for disks that don't make any sense. And those disks have a lousy partition table.
Me: Aw, fuckit. Windows!
[enter Windows 7]
Windows: Oooh, those disks have a lousy partition table.
Me: [speaking with face in desk] Yes, Windows. They do.
Windows: Well, let me fix that for you. How many partitions? What size? Would you like me to format them? I like NTFS, but I'm okay with something else.
Me: Yay! How about something else?
Windows: NTFS OR I WILL CUT A BITCH.
Me:.... hoookay, NTFS it is. I don't care, as long as they're partitioned. Linux can handle mkfs, even if fdisk is apparently too complicated today.
Windows: All done! Partitions made, here's your exact lists, and I even threw in a quick format.
BIOS: Whoooo, I LOVE the new hard disks, boss
Linux: I can't read those drives. They're partitioned with a size of zero. And no partitions. And an unreadable partition table. And squirrels are often cruel to me.
Windows: Those look just fine to me. I can read and write to them, see? Now you try it.
Linux: You're not my mom!
LiveCD: I keep telling you, Dave's not here, man.
[exeunt]
=================================
So, yeah.
dmesg shows the drives showing up just fine, but notes that they're big (1.5TB drives). Still, this shouldn't be a problem - OS is Ubuntu 8.0.4.4. Bios sees the drives just fine. GParted saw the drives *briefly* but not any more. Plugging the drives into Windows using a SATA-to-USB adapter works just fine, lets me partition and format them, etc. The drives work just fine, the BIOS should be able to handle a large disk and is up to date anyway.
"fdisk /l" doesn't show the two new hard disks.
"fdisk /dev/sda" or sdb gives "unable to read /dev/sda". sfdisk shows *ZERO* cylinders. Switching the HDD handling in the BIOS from IDE to AHCI and back doesn't change the behaviour.
The only slightly unusual thing here is that the new drives are SATA, the old disk is IDE. Still, that shouldn't matter! Linux sees all three drives, it just thinks the two new ones are made of garbage.
Edit: Connecting the SATA drive to the linux OS using the SATA-to-USB converter (yes I ran a wire from the inside of the case around to plug into the front of the case STOP JUDGING ME) works. It can see *that* drive, no problem. And a fresh install of Ubuntu can't detect the HDDs, even with the IDE drive is disconnected. So! I think the problem is found: Linux hates SATA.
That's the conclusion I've reached, anyway.
(no subject)
Date: 2011-12-28 06:02 pm (UTC)(no subject)
Date: 2011-12-28 06:13 pm (UTC)(no subject)
Date: 2011-12-28 06:31 pm (UTC)(no subject)
Date: 2011-12-28 06:05 pm (UTC)*throw icon, duck, run*
(no subject)
Date: 2011-12-28 06:10 pm (UTC)Helpful: I would use the USB-to-SATA thing to connect the drives to the Linux machine and partition/format them with that instead of trying to use the motherboard SATA chipset to do it.
My gut says to blame the kernel module for the SATA chipset on the motherboard. I suspect similar frustration if you try an old 200GB SATA drive.
Unhelpful: SATA is for boot SSDs, any spinning disk containing "data" should be connected by ethernet, hosted on a device from netapp, synology or QNap.
(no subject)
Date: 2011-12-28 06:21 pm (UTC)Ubuntu *10* is right now as of this moment not having this problem. So I think the real solution here is obvious.
(no subject)
Date: 2011-12-28 07:09 pm (UTC)(no subject)
Date: 2011-12-28 07:16 pm (UTC)Windows worked over SATA-to-USB, but, then, so did Ubuntu 8.
(no subject)
Date: 2011-12-28 06:23 pm (UTC)(no subject)
Date: 2011-12-28 07:32 pm (UTC)Also: I added the "unhelpful" preface because I get it.
(no subject)
Date: 2011-12-29 12:35 am (UTC)(no subject)
Date: 2011-12-28 06:22 pm (UTC)(no subject)
Date: 2011-12-28 07:11 pm (UTC)(no subject)
Date: 2011-12-28 07:14 pm (UTC)(no subject)
Date: 2011-12-28 07:39 pm (UTC)'Cause seriously, what's going on just doesn't sound right; I've used Linux + SATA sans problems for ages and this stymies me (even more so than usual).
(no subject)
Date: 2011-12-28 08:52 pm (UTC)I also wonder - 64bit vs 32bit might be an issue as well.
But I agree - that's kinda crazy. Unless....
...does the BIOS have one of those fun flags to change the disk addressing for DOS? The disks may just be too damn big for that kernel as presented.
(no subject)
Date: 2011-12-29 12:17 am (UTC)Ubuntu 10.04 x86 LiveCD = can't see the fucking drives. Ubuntu 8.04 Server x64 = can't see the fucking drives. Ubuntu 10.04 LTS x64 server? Can see the fucking drives.
Since the end user prefers Debians, Ubuntu 10 was the way to go. It's currently, 8 hours later, syncing 1.5TB of /dev/mdx
(no subject)
Date: 2011-12-29 01:03 am (UTC)(no subject)
Date: 2011-12-28 09:31 pm (UTC)(no subject)
Date: 2011-12-29 03:55 am (UTC)(no subject)
Date: 2011-12-29 12:37 am (UTC)(no subject)
Date: 2011-12-28 10:18 pm (UTC)(no subject)
Date: 2011-12-29 12:01 am (UTC)(no subject)
Date: 2011-12-29 12:18 am (UTC)(no subject)
Date: 2011-12-29 02:12 am (UTC)(no subject)
Date: 2011-12-29 01:46 pm (UTC)(no subject)
Date: 2011-12-29 11:17 pm (UTC)(no subject)
Date: 2011-12-30 03:19 am (UTC)(no subject)
Date: 2011-12-30 08:21 am (UTC)(no subject)
Date: 2011-12-29 04:25 am (UTC)(no subject)
Date: 2011-12-29 07:19 am (UTC)(no subject)
Date: 2011-12-29 01:48 pm (UTC)(no subject)
Date: 2011-12-29 06:52 pm (UTC)(no subject)
Date: 2011-12-29 06:59 pm (UTC)(no subject)
Date: 2011-12-29 11:45 am (UTC)Known issue *hateface*