Outils pour utilisateurs

HDD

Recover Linux-RAID Member

You should not mount it directly using mount. You need first to run mdadm to assemble the raid array. A command like this should do it:

$ mdadm --assemble --run /dev/md0 /dev/sdc*

If it refuses to run the array because it will be degraded, then you can use –force option. This is assuming you don't have /dev/md0 device. Otherwise, you need to change this name.

When this command is executed successfully, you can mount the created device normally using:

$ mount /dev/md0 /mnt/test

Format

Ext4

Formatage aligné et optimisé pour le stockage sans journal

OKL: sudo parted /dev/device print unit MB print free

which indicates:

Disk /dev/device: 6001175MB

OKL: sudo parted –align optimal /dev/device mkpart primary ext4 0% 6001175MB

OKL:sudo mkfs.ext4 -O ^has_journal -E stride=2,stripe-width=1024,lazy_itable_init=0,lazy_journal_init=0 -b 4096 -m 0 -L Name /dev/device

OKL: sudo mount -o remount,noatime,nodiratime /media/data

OKL: sudo chown -R user:users /media/data; sudo chmod a+rwX -R /media/data

OKL: sudo chmod -R 0775 /media/data; sudo chown -R root:root /media/data/lost+found ; sudo chmod -R g-rwx,o-rwx /media/data/lost+found

UDF