[Lustre-discuss] Replacing An Existing OST with a bigger one (unsupported optional features)?!
Alex
linux at vfemail.net
Tue Nov 4 05:54:22 PST 2008
[root at rs1 ~]# lfs df -h
UUID bytes Used Available Use% Mounted on
testfs-MDT0000_UUID 130.4G 460.1M 122.5G 0% /mnt/lustre[MDT:0]
testfs-OST0000_UUID 18.3G 17.4G 2.0M 94% /mnt/lustre[OST:0]
testfs-OST0001_UUID 18.3G 15.5G 2.0G 84% /mnt/lustre[OST:1]
testfs-OST0002_UUID 36.7G 15.5G 19.4G 42% /mnt/lustre[OST:2]
testfs-OST0003_UUID 36.7G 15.5G 19.4G 42% /mnt/lustre[OST:3]
filesystem summary: 110.0G 63.8G 40.7G 57% /mnt/lustre
[root at rs1 ~]#
Now, supposing that i want to REPLACE OST:0 (which is full) with a larger one
block device and keep all data intact, i do:
1. umount /mnt/lustre on all our clients - ok
2. go to shd1 (OSS machine which is keeping hdb1 as OST:0)
[root at shd1 ~]# mount
...
/dev/hdb2 on /mnt/lustre/ost1_02 type lustre (rw,_netdev)
/dev/hdb1 on /mnt/lustre/ost1_01 type lustre (rw,_netdev)
[root at shd1 ~]# umount /dev/hdb1
[root at shd1 ~]# mount /dev/hdb1 -t ext3 /mnt/ost_old
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root at shd1 ~]#
[root at shd1 ~]# dmesg |tail -1
EXT3-fs: hdb1: couldn't mount because of unsupported optional features (40).
[root at shd1 ~]#
So, i can't mount /dev/hdb1 as EXT3, as explained on section "22.3.13
Replacing An Existing OST or MDS" in order to migrate data from it to another
volume!
Somebody can help me?
Regards,
Alx
More information about the lustre-discuss
mailing list