move /home to another partition with Yast

Im using suse 11.1 with /home on a separate partition.
To move my /home to a larger partition it looked easy to use Yast partitioner.
I copied all /home/ files first to the new partition and backed-up fstab.

with Yast I unmounted /dev/sdb6 = /home and mounted it to /local
then unmounted /dev/sda4 = mynewhomepartition and mounted it to /home

checking the new fstab it looked fine but after a restart it did not work and I got an error.
resetting the original fstab resetted the system as it used to be.
My question is: why does it not work, are there (hidden) files with the old or other settings?.

frits

Please post old and new fstab. We are not clairvoyant.

I do not know where in YaST you unmounted and mounted (nor what YaST is supposed to do there), but the simple actions of mounting and unmounting do not change the fstab. The normal sequence to do this from the CLI is:

  1. umount
  2. change* /etc/fstab*
  3. do mount -a to get everything mounted on the new place(s). (And do not forget to create those new place(s) as directories with proper owners and access-bits).

You could also:

  1. change /etc/fstab
  2. reboot.
    But that would have against it that when you brek your fstab, boot may become impossible.

This is the active (original) fstab (relevant lines only)

/dev/disk/by-id/ata-WDC_WD1600AAJB-56WRA0_WD-WCAS2A656583-part3 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD1600AAJB-22WRA0_WD-WCAS29171346-part6 /home ext3 defaults 1 2
/dev/disk/by-id/ata-WDC_WD1600AAJB-22WRA0_WD-WCAS29171346-part8 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD1600AAJB-22WRA0_WD-WCAS29171346-part7 /documenten vfat users,gid=users,umask=0002,utf8=true 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

the 2 relevant lines from the fstab after remounting them with Yast-part.

/dev/disk/by-id/ata-WDC_WD1600AAJB-22WRA0_WD-WCAS29171346-part6 /local ext3 defaults 1 2
/dev/disk/by-id/ata-WDC_WD1600AAJB-56WRA0_WD-WCAS2A656583-part4 /home ext3 defaults 1 2
sda and sdb are the same type 160 Gb disks
sda number ends with 583 sdb with 346

I used Yast partitioner. In Yast partitioner you can pick a partition and change the mountpoints.
(BTW I have another install of 11.1 on a not mounted partition and used this to rename the actual fstab and fstab.bak)

When you copied /home did that include /home or just the contents of /home?

If you copied /home when you mounted the directory structure would be /home/home

Copy only the contents of /home

Solved

There must have been some error while copying the files.
I deleted all the files on the new partition and copied my /home partition again to the new /home/ using terminal.

Renamed the fstab.bak (with the new settings) to fstab and everything works as is should.

Thanks for the help.