创建lvname名为snaplvname,大小为20M的新快照卷
A: lvcreate –nsnaplv–L20M/dev/vgname/lvname
B: lvcreate–s–nsnaplv–L20M/dev/vgname/lvname
C: mount –ro /dev/vgname/snaplv
D: lvcreate–ssnaplv–L20M/dev/vgname/lvname
A: lvcreate –nsnaplv–L20M/dev/vgname/lvname
B: lvcreate–s–nsnaplv–L20M/dev/vgname/lvname
C: mount –ro /dev/vgname/snaplv
D: lvcreate–ssnaplv–L20M/dev/vgname/lvname
举一反三
- 创建lvname名为snaplvname,大小为20M的新快照卷
- Linux操作系统中进行lvm分区增加新的逻辑卷到卷组命令是哪个() A: vgadd /dev/sdb2 B: lvadd -L +10M /dev/vg0/lv0 C: vgextend vg 0 /dev/sdb2 D: lvextend -L +10M /dev/vg0/lv0
- Linux系统中,以下哪个命令可以实现修改挂载的分区只读 A: mount -o remount,ro /dev/sdb1 /sdb1 B: mount -o remount /dev/sdb1 /sdb1 C: mount -o ro /dev/sdb1 /sdb1 D: mount -o /dev/sdb1 /sdb1
- 将光盘/dev/cdrom安装到/mnt/cdrom的命令是______。 A: mount /dev/cdrom /mnt/cdrom B: mount /mnt/cdrom /dev/cdrom C: mount /dev/sr /dev/cdrom D: mount /dev/sr/mnt/cdrom
- 如何将ls -l file01 file02 命令的标准输出重定向到名为stdout.txt的文件中,并将错误输出重忽略. A: ls -l file01 file02 1>;stdout.txt 2>;/dev/zeros B: ls -l file01 file02 >;stdout.txt 2>;/dev/null C: ls -l file01 file02 &>;stdout.txt 2>; dev/null D: ls -l file01 file02 2>; dev/null 1>;stderr.txt