From: unruh@invalid.ca   
      
   On 2013-11-15, faeychild wrote:   
   > This is self inflicted and I hope to make it succinct and lucid.   
   >   
   > I have a second hard drive full of stuff mounted on "/data"   
   >   
   > It started to fail with enormously long fsck checks.   
   >   
   > So I plugged a new drive into "sdc" and using disk drake I partitioned and   
   > mounted on ''/tmp' then copied all the stuff across.   
   > Because my swap file is also on the second disk I created one on the backup.   
   >   
   > All went well until I physically plugged the new drive in the old drive   
   > socket "sdb" . I had suspicions that it wouldn't be that easy.   
   >   
   > It still mounts at '/tmp" and I can't change this with drake because the   
   > drive is busy, not sure with what.   
      
   It is mounted so it is busy.   
   You need to edit /etc/fstab to tell it where the disks should be   
   mounted. Eg, it is probably using UUID which will not have changed by   
   the shift to a different plug in.   
      
   >   
   > boot up is slow because grub waits for "sda3 and sdb2 to appear.   
   >   
   > sdb2 does not exist on the new disk   
   >   
   > Fixing is beyond my experience. I wont edit fstab without knowing what I am   
   > doing.   
   >   
   > fstab below   
   >   
   > # Entry for /dev/sda3 :   
   > UUID=d8e2a51f-c9b5-4aef-80cd-c4bf0b4f626c / ext4 acl,relatime 1 1   
   > # Entry for /dev/sdb1 :   
   > UUID=cfa1d59e-c2e3-4bda-b608-dfae5070006e /data ext3 acl,relatime 1 2   
   Comment it out.   
      
      
   > /dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0   
   > none /proc proc defaults 0 0   
   > # Entry for /dev/sdc1 :   
   > UUID=0f9247d9-28b0-4fea-9c9f-ea88ce273f0c /tmp ext4 acl,relatime 1 2   
   Change to /data rather than /tmp   
   Note that the UUID has not changed just because you moved the disk. That   
   is the "advantage" or UUID. But of course this no longer refers to   
   /dev/sdc1 as in the comment before this line. Since it is a comment it   
   has absolutely no power.   
      
      
      
      
      
   > # Entry for /dev/sdb2 :   
   And comment out this following line as well.   
   > UUID=23ad1d81-c5ea-4f11-b86d-45710295f076 swap swap defaults 0 0   
   > # Entry for /dev/sdc5 :   
   > UUID=c1398fe7-68d0-44c3-8892-7ff941ae6ccf swap swap defaults 0 0   
      
   Again it is the UUID that is used. This is probably now /dev/sdb5   
      
   >   
   > Any help appreciated   
   >   
   > faeychild   
   > my signature generator has failed also   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|