problem in ISCSi and RAID not working properly
Dear all,
i create the md0 raid array and added 7 devices mdadm --create /dev/md0 --raid-devices=7 /dev/sdb /dev/sdc dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh --chunk=8 --level=0 and i mount that in /scratch upto this workfine but when i restart the service i.e service iscsi restart my dev folder show the diffrent naming connvention i.e it show disk like sdi sdg ... and so on how it works can you tell me and any solution for that it give always same name. and also i want that after rebooting the system md0 must be persiest when reboot system after creating array it goes in file system repair promt and mount file system readonly and md0 not mounted. i create mdadm.conf file but it not work for me it give error that is superblock not found is any mistake in creating array please tell me thanks and regards Vaibi |
What OS?
You may want to consider using udev rules to make the iscsi devices persistently named. Or you may be able to call them by a unique attribute in /dev/. for example: Code:
/dev/disk/by-uuid/... Code:
/dev/sdb as for the fstab mount of md0, since it relies on networking (iscsi), you should ensure that the _netdev is used and you may want to consider changing the fs_passno field (6th field). example: Code:
/dev/md0 /scratch ext3 _netdev 0 2 |
All times are GMT -5. The time now is 03:11 AM. |