linux - Script to create filesystem -


we have requirement create script automate creation of volume group,logical volume & filesystem. suppose there 4 disks in linux:

/dev/sda - 50gb  /dev/sdb - 60gb  /dev/sdc - 70gb  /dev/sdd - 100gb 

now want filesystem /media created & should have size 90gb. script automatically create filesystem in /dev/sdd disk since no other disk can accommodate 90gb filesize.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -