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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -