OKL: sudo parted /dev/device print unit MB print free
which indicates:
Disk /dev/device: 512MB
OKL: sudo parted –align optimal /dev/device mkpart primary ext2 0% 512MB
OKL:sudo mkfs.ext2 -E stride=2,stripe-width=1024 -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 2775 -R /media/data
OKL: sudo chown -R root:root /media/data/lost+found ; sudo chmod 0700 -R /media/data/lost+found