如题:己配好,并己自动挂载,但普通用户没有写权限
/etc/fsbab内容如下:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb2
UUID=8840f25e-ea1d-4d8b-9129-1bd0984431c2 / ext4 rw,relatime,data=ordered 0 1
# /dev/sdb3
UUID=5371ac19-1e99-40cc-a035-ff953c171f6d none swap defaults 0 0
/dev/mapper/mu-mulvm /mnt/mulvm ext4 defaults 0 0
/dev/sdb5 /mnt/win_d ntfs-3g gid=users,fmask=113,dmask=002 0 0
/dev/sdb6 /mnt/win_e ntfs-3g gid=users,fmask=113,dmask=002 0 0
df -h
[mulan@mulanhostname ~]$ sudo df -h
文件系统 容量 已用 可用 已用% 挂载点
dev 2.9G 0 2.9G 0% /dev
run 2.9G 672K 2.9G 1% /run
/dev/sdb2 17G 4.1G 12G 26% /
tmpfs 2.9G 0 2.9G 0% /dev/shm
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
tmpfs 2.9G 12K 2.9G 1% /tmp
/dev/sdb6 201G 192G 8.1G 96% /mnt/win_e
/dev/sdb5 131G 115G 16G 89% /mnt/win_d
/dev/mapper/mu-mulvm 30G 44M 28G 1% /mnt/mulvm
tmpfs 588M 8.0K 588M 1% /run/user/1000
执行 lvdisplay信息如下:
[mulan@mulanhostname ~]$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/mu/mulvm
LV Name mulvm
VG Name mu
LV UUID Jd7DA3-KUPf-dhem-2JWF-LmYE-yAyG-6iT7R9
LV Write Access read/write
LV Creation host, time mulanhostname, 2015-08-22 23:44:30 +0000
LV Status available
# open 1
LV Size 30.00 GiB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
离线
用 chmod / chown 给权限就好了。
离线
谢谢,己搞定。并且把/HOME挂过去了。
离线