On Wed, 2003-09-03 at 10:19, Gideon N. Guillen wrote: > On Wed, 2003-09-03 at 14:22, JondZ wrote: > > > sure..but my point was that /boot was on a raid partition, but in order > > to mount that he'll need a kernel that recognizes...raid partitions. > > the chicken & egg part comes in when you realize that the kernel > > itself is on /boot...not to mention raidtab.conf which is on /etc > > (another raid partition?) so on manual recovery, however he brings up > > the kernel he'd better be mounting /dev/md0 instead of /dev/hda1. > > just wanted to point that out, since in case of a disaster > > i wouldnt want to be in a position to figure how the partitions > > should look like.(especially if i cant find /etc/fstab and > > /etc/raidtab.conf). > [snipped] > > Err... since we're talking RAID1 using Linux's Software raid, partitions > can be mounted manually as if they were just an ordinary disk. A /boot > using RAID 1 can be mounted as a partition of an individual hard disk. > Example: you /dev/md0 mounted as /boot is actually /dev/hda5 and > /dev/hdc5. Well, you can mount /dev/hda5 or /dev/hdc5 if you want if you > want to access the file system. Only good for read only stuff. If you're > going to write to the FS, you might need to re-sync your partitions > either by using raid tools or you might want to use dd (is this safe for > RAID 1? anybody who tried this to re-sync RAID-1 pairs?)
yes and it would work. I actually tried mounting half of the raid-1 and it was correctly mounted (ext2). Its just that it sounds wrong though IMHO. If this has to be done at all, better mount them read-only. And of course this would be a problem on raid-linear, raid-0, 3 and 5. No idea about DD. the correct way is to still reinsert the disks and let the kernel raid recovery handle it but who knows. I would lean to the side that it will make things worse, for one thing I think that md partitions know where the other "kapatid" md's are located (this is how kernel knows where the md volumes are without consulting the /etc/raidtab.conf on boot up). so forcing DD would probably mess some book keeping info. (just speculation on my part though.) jondz -- JondZ <[EMAIL PROTECTED]> -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
