[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mount fail via fstab but working with command line



i have 2TBx2 Drives with  RAID 1.
here is my RAID partitions layout and size is 500GB each made on GPT.

/dev/md1
/dev/md2
/dev/md3
/dev/md4

i can mount the partition via command line very easily just by giving
this command " mount /dev/md4 /test/users"
however i can not mount them via fstab. it is giving me below error.

Thu May 10 15:31:28 2012: /dev/md4: clean, 11/30547968 files,
1967930/122167518 blocks
Thu May 10 15:31:29 2012: done.
Thu May 10 15:31:29 2012: Mounting local filesystems...mount: wrong fs
type, bad option, bad superblock on /dev/md4,
Thu May 10 15:31:29 2012:        missing codepage or helper program,
or other error
Thu May 10 15:31:29 2012:        In some cases useful info is found in
syslog - try
Thu May 10 15:31:29 2012:        dmesg | tail  or so

no matter i tried "UUID"  and also "/dev/md1/test/users ext4 default 0
2" nothing works

here is my fstab
proc            /proc           proc    defaults        0       0
# / was on /dev/sda3 during installation
UUID=a2cb7b4e-1dac-422d-b5f0-f5aeb6c69cdf /               ext4
errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=00219a44-4ce5-414a-b44f-c56405b60f9d /boot           ext4
defaults        0       2
# swap was on /dev/sda2 during installation
UUID=4aaad274-fe6a-486a-a127-29d4584bee6e none            swap    sw
           0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

#### my configuration portion #############
#md1 500GB for backup
#md2 500GB for projects
#UUID=5a6a7a11-1b9d-4681-a398-d4c86aabd89a       /test/projects  ext4
  default 0       2
#/dev/md2        /test/projects  ext4    default 0       2
#md3 500GB for office
#UUID=b0047ee5-084d-44a8-b7f1-f7e040ec5c31       /test/office    ext4
  default 0       2
#md4 500gb for users
/dev/md4         /test/users     ext4    default 0       2


my UUIDs

#/dev/md4: UUID="23d47b04-18fd-4d65-8792-647bd5016a3f" TYPE="ext4"
#/dev/md3: UUID="b0047ee5-084d-44a8-b7f1-f7e040ec5c31" TYPE="ext4"
#/dev/md2: UUID="5a6a7a11-1b9d-4681-a398-d4c86aabd89a" TYPE="ext4"
#/dev/md1: UUID="35cb0e66-f0cb-4895-ad9f-5101c88c3739" TYPE="ext4"


Reply to: