This is what I did:<br />
<br />
1. connect an external 200GB maxtor usb hdd.<br />
2. initialize the device (pvcreate /dev/sda1)<br />
3. create a Backup volume group (vgcreate Backup /dev/sda1 )<br />
4. create logical volumes inside Backup volume group (lvcreate -L 1G -n <department_name> Backup)<br />
5. mkfs.ext3 to logical volumes inside Backup volume group.<br />
5. create the mount points (mkdir /var/ftp/Backup/<department_name> )<br />
6. update /etc/fstab to add mount definitions.<br />
7. mount partitions.<br />
8. fix permissions to let departament people access the backup-space through ftp.<br />
<br />
This worked ok until the system was rebooted. <br />
<br />
When did so, the system stopped and prompted me to add root password to correct the filesystem. <br />
<br />
I picked the CentOS LiveCD, commented Backup logical volumes definitions in /etc/fstab and after reboot the system, it booted up ok. Once inside the system checked volumes with lvscan tool, all LVs inside Backup volume group were<br />
inactive.<br />
<br />
Cheers,<br />
al.
↧