CTRL-D Problem on LVM reduction
I am learining linux...i have faced problem of CTRL+D on reducing LVM as i fired wrong command like
lvmreduce -L -100M /dev/vol/lv1
resize2fs -p /dev/vol/lv1 -100M
and lost my data of home that was mounted on lvm ...can i recover this using ctrl + d ....only thing i knw is that on giving password on ctrl+d ....i entered mount -o remount /
then formatted lvm then login problem was resolved like
mke2fs -j /dev/vol/lv1
but by doing so i lost home directories of the users. hw can i fire command by not losing home directories of users created under home(that is mounted on lvm).