RE: [opensuse] Raid troubles
Hello, A little extra info, one of the drives is listed as inactive (I think); cat /proc/mdstat Personalities : md0 : inactive sdc1[1](S) sdb1[0](S) 2910142528 blocks super 1.0 unused devices: <none> <> However, fdisk sees them both; Disk /dev/sdc: 1489.9 GB, 1489996087296 bytes 255 heads, 63 sectors/track, 181148 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0008e46e Device Boot Start End Blocks Id System /dev/sdc1 1 181148 1455071278+ fd Linux raid autodetect ...and, Disk /dev/sdb: 1489.9 GB, 1489996087296 bytes 255 heads, 63 sectors/track, 181148 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000233f0 Device Boot Start End Blocks Id System /dev/sdb1 1 181148 1455071278+ fd Linux raid autodetect <snip> Rebooting doesn't resolve the problem. Any ideas on how to restart the raid and tell md to use the XFS filesystem? Thank you, James -----Original Message----- From: James D. Parra [mailto:Jamesp@MusicReports.com] Sent: Monday, October 27, 2008 2:07 PM To: Suse (E-mail) Subject: [opensuse] Raid troubles Hello, I have a drive that went offline, which is now online and I need to remount it. It is part of a two drive array. Through Yast, I get an error saying it doesn't know its file system (XFS). <snip> Error It is not allowed to assign a mount point to a device with nonexistent or unknown file system. <snip>
From the CLI, how can I restart the array and pass to md what the filesystem is.
Thank you, James D. Parra Systems Administrator, IT Dept. Music Reports Inc. jamesp@musicreports.com T: 818-558-1400 x7023 F: 818-558-3484 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Oct 27, 2008 at 5:20 PM, James D. Parra <Jamesp@musicreports.com> wrote:
Rebooting doesn't resolve the problem. Any ideas on how to restart the raid and tell md to use the XFS filesystem?
You do not tell md to use a certain filesystem. Md is just a container, i.e. to the rest of the system /dev/md0 is no different than a volume on a proper RAID controller. The filesystem type is stored on the filesystem. What *CAN* happen is md-RAID breaks (sometimes for no reason, due to a hardware failure or unclean shutdown) or one of the That is what you are seeing,.. md thinks /dev/md0 is broken so when you try to mount it, the system is not seeing a valid filesystem because md is not feeding it one. If it is RAID-1 you can mount the individual partitions using the -t[ype] option to specify that your volume is XFS. I would suggest you make a backup and reinstall using a better RAID implementation (hardware.) Otherwise you can try (and fail) to make mdadm work... it does not. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2008-10-27 at 17:48 -0400, Andrew Joakimsen wrote:
I would suggest you make a backup and reinstall using a better RAID implementation (hardware.)
Only if it is real hardware raid, which is expensive.
Otherwise you can try (and fail) to make mdadm work... it does not.
It works... :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkGOd8ACgkQtTMYHG2NR9VWtQCcDUwq79zW3w401/yOMtlenQ/x UQEAn2yaBNkcOKmhFL/qP0GRjygKIzrK =zcn6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message ----- From: "Andrew Joakimsen" <joakimsen@gmail.com>
Otherwise you can try (and fail) to make mdadm work... it does not.
Well, it doesn't work for you. It works fine for me and gee, rather a lot of other people. Since that's the case, you can't say it doesn't work. All you can say is you can't figure it out. Every thing you've claimed in the past to be impossible in mdadm, I have done, and then some, and I can just about barely spell "mdadm". I actually don't use it all that much. Sitting there issuing wrong commands because you've misinterpreted the manual and can't be bothered to figure out the things the manual isn't clear on, and then claiming the tool doesn't work is pretty dumb. I struggled for a little bit at first too. I misinterpreted some things the man page says too. But my reaction to this was a bit different from what yours seems to have been. I googled around for other peoples similar problems and I simply tried things on test disks (which btw can be merely ramdisks, you don't even need to invest in any hardware except when testing bios/boot interactions) and figured out by simple testing those things the manual wasn't clear on. In the end, what I found was that I could do things, and recover broken arrays, in mdadm that I could not do with adaptec or lsi or 3ware hardware raid cards, because of the much higher amount of control mdadm allows. This all took between a day and a weekend off & on. A lot longer than it takes to use a hardware raid card. However, the other side is a lifetime of being helpless and dependant. In fact, I'd say that's basically the job of an IT person all day every day their whole career, is to figure things out on the spot. If you can't do that and require that everything be done for you, then get out of IT. The problem here is, because there are a lot of details and factors that change the equation in every idividual case, it's pretty difficult to diagnose and fix md raid problems via mail list. At least for me. Also, in my own case, since I'm NOT an md raid expert and I always sove my own md raid problems by a fair amount of trial and direct experimentation, it's difficult to offer exact commands via mail list. The exact commands I issued one time to solve a particular problem, I already know that they were only correct in that exact situation and in the context of things I knew about the data on the disk that no program or firmware could possibly deduce or assume. The same command would be disaster any other time. _That_ may be a valid argument against average Joe using md raid, the lack of really good community support to make everything fast and effortless. But, that doesn't mean it's broken, just that it's not user-friendly. The most powerful things are often not user-friendly. -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2008-10-27 at 14:20 -0700, James D. Parra wrote:
However, fdisk sees them both;
You can not mount a member of a raid array separately. For procedures, read the howto. /usr/share/doc/howto/en/txt/Software-RAID-HOWTO.gz - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkGN9kACgkQtTMYHG2NR9VgOQCeL6x7/ziWyoHk/lc5UHosVe3y qLsAn21ZYL6q+7zlxwHIPAodZ5zPrCwc =nleC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Andrew Joakimsen
-
Brian K. White
-
Carlos E. R.
-
James D. Parra