On Sat, Feb 20, 2021 at 03:26:24PM +0800, Wu Fengguang wrote:
- copy_nfsroot_to_src_lv()
- {
- src_lv=$1
- lvdisplay ${src_lv} > /dev/null || {
lvdisplay $src_lv && return
后面就不用缩进了
ok
# create logical volume
lvcreate -L 10G -n $(basename ${src_lv}) os || exit 1
exit 1 => exit
ok
-------- Thanks Yu Chuan
Thanks, Fengguang