[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Replacing an HDD: will it be labeled as before?



On Du, 15 aug 10, 10:55:22, Merciadri Luca wrote:
> Hi,
> 
> I would like to replace one of my HDDs by another one (a bigger one).
> Say that this is /dev/sdc. Then, its structure is defined like this:
> 
> /dev/sdc1 (extended)
>     /dev/sdc5 (ext3)
> 
> where
> 
> /dev/sdc5 is mounted as my home in /etc/fstab:
> 
> ==
> # cat /etc/fstab | grep merciadriluca
> /dev/sdc5       /home/merciadriluca ext3 errors=remount-ro 0 1
> ==
> 
> Say now that I manage to copy my home to the new HDD (in ext3) which
> will replace the old one. If I physically put a new HDD at the place of
> the old one, will I encounter issues? Everything is done according to
> /dev/, so, no UUIDs, and there should be no problem. But will it be set
> as /dev/sdc5 automatically? (Sorry for my noobness.)

Only if you're lucky. I would use LABEL= in /etc/fstab and just use the 
same label on the new partition.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: