Professional Web Applications Themes

/ HD partition going bad - Linux Setup, Configuration & Administration

Sorry if this is a double-post. I've waited several hours and haven't seen it hit the ng yet... And I'll give a little more info to boot. OK, I've got a raid box that has two normal ide drives (hda and hdb) w/ 4 additional drives mounted as a raid. there is only one hda partition, /. hdb holds the swap disk along with another large formatted but unused partition. the raid holds no os-specific data, it's just a netshare for all the other systems on the net. hda is slowly loosing life (sectors keep popping up as bad, huge ...

  1. #1

    Default / HD partition going bad

    Sorry if this is a double-post. I've waited several hours and haven't seen
    it hit the ng yet... And I'll give a little more info to boot.

    OK, I've got a raid box that has two normal ide drives (hda and hdb) w/ 4
    additional drives mounted as a raid.

    there is only one hda partition, /. hdb holds the swap disk along with
    another large formatted but unused partition. the raid holds no os-specific
    data, it's just a netshare for all the other systems on the net.

    hda is slowly loosing life (sectors keep popping up as bad, huge log on the
    screen...). the ext on hdb has plenty of room and currently isn't being
    used for anything.

    I want to transition everything on the hda to the ext on hdb, then put hdb
    in as the master (hda) and ditch the current hda.

    can I 'cp' everything from / to hdb, reconfig lilo to use hdb's mbr (as
    apposed to hda's), run lilo, shutdown, yank hda, make hdb 'master' and
    reboot?

    What else do I need to consider here?

    Thanks!



    /dev/null Guest

  2. #2

    Default Re: / HD partition going bad

    On Thu, 23 Oct 2003 04:09:16 GMT, /dev/null <com> wrote: 
    You could use the hard disk upgrade howto I believe. I did this with a
    webserver which had the same problems awhile ago. I also wanted to go
    from a 40g ide drive to an 80g. The whole operation took me about 1
    hour of building the new file systems, mounting them, and then using the
    howto instructions for the ways and means of copying stuff to the new
    /dev/hda. When I was done, I discovered I had forgotten to make a /proc
    file system. Silly me :) So I fixed it and the system has worked fine
    since.

    The instruction set I used is here:

    http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/

    Be sure you double and triple check all the mount points. I've not done
    this with any RAID drives but I have done it more than a few times where
    I wanted to replace a drive or upgrade it without reinstalling stuff.
    Its worked everytime flawlessly for me. Of course...

    YMMV


    --
    Michael Perry | do or do not. There is no try. -Master Yoda
    org | http://www.lnxpowered.org
    Michael Guest

  3. #3

    Default Re: / HD partition going bad

    > http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/

    perfect. It says step by step what I said. thanks.
     

    yeah, looks that way.

    Thanks again.


    /dev/null Guest

  4. #4

    Default Re: / HD partition going bad

    "/dev/null" <com> wrote: 
     

    Check out the Hard-Disk-Upgrade mini-HOWTO. It covers all you need to
    know about this.

    regards Henrik
    --
    The address in the header is only to prevent spam. My real address is:
    hc2(at)uthyres.com Examples of addresses which go to spammers:
    com se rootlocalhost
    Henrik Guest

Similar Threads

  1. resizing partition
    By scott in forum Windows Server
    Replies: 4
    Last Post: June 16th, 04:27 AM
  2. Expand Partition
    By Joe Sorenson in forum Windows Server
    Replies: 2
    Last Post: June 9th, 06:40 PM
  3. partition sizes
    By perl in forum Sun Solaris
    Replies: 6
    Last Post: August 12th, 09:46 PM
  4. Partition sharing
    By alex in forum Debian
    Replies: 3
    Last Post: August 3rd, 02:00 PM
  5. Adding a partition.
    By Elango in forum Sun Solaris
    Replies: 4
    Last Post: July 23rd, 11:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139