partx -d -nr /dev/sdb
[root@centos6 ~]#mount --显示挂载的文件系统 /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /dev/sda3 on /data type ext4 (rw) /mnt/disk on /mnt/xdisk type ext4 (rw,loop=/dev/loop0) /dev/sdb1 on /mnt/sdb1 type ext4 (rw) ---显示是挂载的 [root@centos6 ~]#umount /mnt/sdb1 ---取消挂载 [root@centos6 ~]#lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 100M 0 loop /mnt/xdisk sda 8:0 0 200G 0 disk ├