Created
April 20, 2012 22:33
-
-
Save farshidce/2432350 to your computer and use it in GitHub Desktop.
recreating dead partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
vgcreate VolGroup01 /dev/sdb | |
lvcreate --extents 100%VG --name Data VolGroup01 | |
mkfs -t ext3 -m 0 /dev/VolGroup01/Data | |
#echo "/dev/VolGroup01/Data /data ext3 defaults 0 0" >> /etc/fstab | |
mkdir -p /data | |
mount /data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment