Witch is my primary HDD?
I have two harddisks inside the server. One of them is the primary the another is the mirror HDD. If I type command "fdisk -l" to see the harddisks I get the following result:
" Disk /dev/hdc: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Unit = cylinders of 16065 * 512 = 8225280 Device Boot Start End Blocks Id System /dev/hdc1 * 1 13 104391 83 Linux /dev/hdc2 14 9954 79851082+ 83 Linux /dev/hdc3 9955 10011 457852+ 82 Linux swap Disk /dev/hda: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Unit = cylinders of 16065 * 512 = 8225280 Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 9954 79851082+ 83 Linux /dev/hda3 9955 10011 457852+ 82 Linux swap " My question is: Witch one is the primary HDD hdc or hda? Thanks |
/dev/hda
and Quote:
|
On the HDD hdc I have some messages in the /home/user directory. How can I find that messages?
|
Quote:
what do you mean? System messages ? What kind of messages? |
Email messages for a user.
Weakly ones I made a whole system backup (dd if=/dev/hda of=/dev/hdc), so I copy the entire primary HDD on the secondary HDD. My last update were made 5 days ago. Yesterday my linux system was crashed down (perhaps because of power - I couldn't start it). It's not problem, I just changed the HDD's and my system worked again with 5 days old datas. But the big problem is, that one of my users got a very important message (email message) 3 days ago (so this message was not backuped, but this message is on the another HDD witch doesn't start). So my problem is this mail. This mail is no the hdc (/home/user) but I don't know how to access it. Do you have any idea? |
So you can start yor system now with the backup hdd. And as far as I understand you
physical moved the discs. So how about if you just mount that disk in to a mount dir on your working system? Like mount /dev/hdc2 /mnt/disk |
All times are GMT -5. The time now is 01:39 AM. |