Friday, November 2, 2012

Sorting out the Mount Points properly for our new EBS tier

Next thing to do is to dismount /u01 and replace it with /u02 and vice versa.

umount /u01
umount /u02

now edit fstab

LABEL=ebs1211db         /u01                    ext3    defaults        1 2
/dev/md0                 /u02                    ext3    defaults       0 0

just change the mount points round

LABEL=ebs1211db         /u02                    ext3    defaults        1 2
/dev/md0                 /u01                    ext3    defaults       0 0




[root@]# mount /u01
[root@]# mount /u02
[root@]# mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/md0 on /u01 type ext3 (rw)
/dev/sdb1 on /u02 type ext3 (rw)


So that's all OK 

No comments: