You are not logged in.

#1 2009-03-09 09:49:19

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Moving /home data to create Ext4 partition on new install.

Hi, all.

I've been doing some thinking about my partitioning:

http://bbs.archlinux.org/viewtopic.php?id=66594


Basically, I have 3 disks:

scsi 4:0:0:0: Direct-Access     ATA      Maxtor 6Y080L0   YAR4 PQ: 0 ANSI: 5 ... 80Gb        (sda) 
scsi 4:0:1:0: Direct-Access     ATA      Maxtor 6L080L0   BAJ4 PQ: 0 ANSI: 5 .... 80 Gb       (sdb- I think) >>>> UNUSED 
scsi 5:0:0:0: Direct-Access     ATA      SAMSUNG SV0844A  JY10 PQ: 0 ANSI: 5 ...8.4 Gb (sdc)

I want to use ext4, so need to format my sdb and move the /home data from sda.

In GNU/Debian, there is a facility to format a partition and then move data onto it.

Given my current set-up below, is there an easy way to do this?  Failing this, I could move the data with the Debian installer.

df -h: 


Filesystem            Size  Used Avail Use% Mounted on 
/dev/sdc2             6.9G  3.4G  3.2G  52% / 
/dev/sda1              89M   38M   46M  45% /boot 
/dev/sda2              76G   60G   12G  85% /home
Current /etc/fstab: 


# <file system> <mount point>   <type>  <options>       <dump>  <pass> 
proc            /proc           proc    defaults        0       0 
# /dev/sdc2 
UUID=19c9d49c-3ba0-4b3b-ab3e-92caece31464 /               ext3    relatime,error 
s=remount-ro 0       1 

# /dev/sda1 
UUID=884c7c84-2102-4833-9422-7fb9b4636ad0 /boot           ext2    relatime      
  0       2 

# /dev/sda2 
UUID=07963f00-36ee-4b03-b8cd-ca286bfb56e6 /home           ext3    relatime      
  0       2 

# /dev/sdc1 
UUID=9268e17f-bba8-487b-8746-33b5e17eb04e none            swap    sw            
  0       0 

/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

Any advice you can offer would be appreciated. Worse case scenario, the partitions stay as they are and I keep ext3.

Cheers,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

Board footer

Powered by FluxBB