HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: recover mirror from /dev/sda1 crash in Fedora ...
Operating System - Linux
1832442
Members
3234
Online
110042
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 10:36 AM
05-25-2005 10:36 AM
recover mirror from /dev/sda1 crash in Fedora Core 3
Hey gang. I have a server set up with two SATA drives operating in a software mirror. The primary HD (/dev/sda1) died. I replaced it, and it wouldn't boot. I even tried fdisking the new drive, doing an mkfs and copying all the partitions and info from /dev/sdb to /dev/sda, but I still couldn't get it to boot, and grub-install wasn't cooperating, either (I had /boot and / on different partitions, so when I CHROOT'ed, they couldn't see each other).
Finally, I copied all the info using an NFS mount to another server, and nuked it. There's got to be an easier way....anyone have the silver bullet? :>)
Thanks in advance,
-dd
Finally, I copied all the info using an NFS mount to another server, and nuked it. There's got to be an easier way....anyone have the silver bullet? :>)
Thanks in advance,
-dd
Hey, that's not a spoon.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 11:57 AM
05-25-2005 11:57 AM
Re: recover mirror from /dev/sda1 crash in Fedora Core 3
If using Software RAID mirroring, you should be able to boot up using rescue media, and use the MD commands to re-mirror the RAID set from the good disk.
Theoretically, if there wern't any file-systems on the new disk you put in, it should have booted from the other one (but I think the '/boot' filesystem can't be MD's? Not 100% sure).
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
Section 8.
Theoretically, if there wern't any file-systems on the new disk you put in, it should have booted from the other one (but I think the '/boot' filesystem can't be MD's? Not 100% sure).
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
Section 8.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 05:26 PM
05-25-2005 05:26 PM
Re: recover mirror from /dev/sda1 crash in Fedora Core 3
This is a good reason why it is needed to test the boot off the alternate mirror drive.
In theory, you should have been able to boot off the mirror drive. Something went wrong in the installation or after that point.
SEP
In theory, you should have been able to boot off the mirror drive. Something went wrong in the installation or after that point.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:48 AM
05-26-2005 12:48 AM
Re: recover mirror from /dev/sda1 crash in Fedora Core 3
Simply put, I don't think the server I'm using is that smart. It appears that it only looks at disk #1, and there isn't anywhere in BIOS where I can say 'hey man, look at the *other* disk'.
But, I found a good answer on Google, as per usual, about an hour too late. Here's the page: http://radu.rendec.ines.ro/howto/raid1.html . Long story short, if you boot with a rescue disk, and monkey with your raidtab file, you can mount your mirror and start re-syncing.
I hope I don't have to put it to the test anytime soon. :>)
Cheers,
-dd
But, I found a good answer on Google, as per usual, about an hour too late. Here's the page: http://radu.rendec.ines.ro/howto/raid1.html . Long story short, if you boot with a rescue disk, and monkey with your raidtab file, you can mount your mirror and start re-syncing.
I hope I don't have to put it to the test anytime soon. :>)
Cheers,
-dd
Hey, that's not a spoon.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP