| 256 | |
| 257 | = mount = |
| 258 | == duplicate uuid on mount == |
| 259 | * /dev/md2 (XFS) -> RAID1 /dev/sda2, /dev/sdb2 |
| 260 | * on Knoppix |
| 261 | {{{ |
| 262 | # mount /dev/sda2 /mnt/sda -r -t xfs |
| 263 | # mount /dev/sdb2 /mnt/sdb -r -t xfs |
| 264 | mount: wrong fs type, bad option, bad superblock on /dev/sdb2, |
| 265 | missing codepage or other error |
| 266 | In some cases useful info is found in syslog - try |
| 267 | dmesg | tail or so |
| 268 | # dmesg | tail |
| 269 | XFS: Filesystem sdb2 has duplicate UUID - can't mount |
| 270 | }}} |
| 271 | * => [http://oss.sgi.com/archives/xfs/2004-10/msg00322.html Re: duplicate uuid on mount] |
| 272 | {{{ |
| 273 | There is also the "nouuid" option to mount: |
| 274 | mount -t xfs -o nouuid /dev/sdc5 /mnt/tmp |
| 275 | This tells the kernel to ignore duplicate UUID. |
| 276 | }}} |
| 277 | {{{ |
| 278 | # mount /dev/sdb2 /mnt/sdb -r -t xfs -o nouuid |
| 279 | # mount |
| 280 | /dev/sda2 on /media/sda type xfs (ro,ikeep,noquota) |
| 281 | /dev/sdb2 on /media/sdb type xfs (ro,nouuid,noquota) |
| 282 | }}} |