Linux LVM

Discussion in 'Tech Support' started by notatoad, 20 Apr 2009.

  1. notatoad

    notatoad pretty fing wonderful

    Joined:
    25 Jun 2004
    Posts:
    3,213
    Likes Received:
    60
    i've got four disks in an LVM array on my fileserver, and today when i reassembled my fileserver, the disk that used to be called sdc is now sdd and sdd is sdc. because of this (i'm assuming), my LVM won't mount. how do i fix this?
     
  2. C-Sniper

    C-Sniper Stop Trolling this space Ądmins!

    Joined:
    17 Jun 2007
    Posts:
    3,028
    Likes Received:
    126
    Just switch the ports on the sata drives to where they were. The assigning of drives in linux is done through the BIOS data which tells which ports are occupied.

    Example:
    I have 2 drives, SDA and SDB.
    SDA is in port 0, SDB is in Port 1
    If i move SDA to Port 1 and SDB to Port 0, SDA becomes SDB, and SDB becomes SDA
     
  3. notatoad

    notatoad pretty fing wonderful

    Joined:
    25 Jun 2004
    Posts:
    3,213
    Likes Received:
    60
    i made sure to keep the drives plugged into the same ports. my ports, cables, and disks are all labeled with sharpie.

    edit: ach, i'm stupid. it mounted perfectly fine on the nas, for some reason my desktop just didn't mount the nfs share.
     
    Last edited: 20 Apr 2009

Share This Page