Creating a block device which can be used as cache for Video On Demand streaming.
Flashcache??
for i in $(lsscsi |awk '{print $NF}'); do if ! echo $(file -Lbs $i) |grep -qc partition; then echo $i; fi; done;
sfdisk partition map:
# partition table of /dev/sda unit: sectors /dev/sda1 : start= 2048, size=976771120, Id=fd /dev/sda2 : start= 0, size= 0, Id= 0 /dev/sda3 : start= 0, size= 0, Id= 0 /dev/sda4 : start= 0, size= 0, Id= 0
haraidolnank:
mdadm -C /dev/md0 -l 1 -n 2 /dev/sda1 /dev/sdb1 mkfs.ext4 /dev/md0 (vagy mas) mount -o noatime,nobarrier /dev/md0 /srv/cache