[Feedback on issues] 挂载lvm逻辑卷到/opt问题
Tofloor
poster avatar
7***1@qq.com
deepin
9 hours ago
Author

各位大佬,修改挂载目录,用了几天一直没问题,重启也正常挂载,今天调整了下挂载参数后不能正常挂载了,默认挂的是opt-overlay ,参数再改回去也不行了,AI给了好几个方案也不好使,和调整挂载参数有关系吗?

系统信息如下:

root@highgo-pc:/dev/deepin# fastfetch 
             ............                 root@highgo-pc
         .';;;;;.       .,;,.             --------------                                                                                                                                                                
      .,;;;;;;;.       ';;;;;;;.          OS: Deepin 25 x86_64                                                                                                                                                          
    .;::::::::'     .,::;;,''''',.        Host: 21M7A001CD (ThinkPad E14 Gen 6)                                                                                                                                         
   ,'.::::::::    .;;'.          ';       Kernel: Linux 6.18.34-amd64-desktop-rolling                                                                                                                                   
  ;'  'cccccc,   ,' :: '..        .:      Uptime: 53 mins                                                                                                                                                               
 ,,    :ccccc.  ;: .c, '' :.       ,;     Packages: 1828 (dpkg)                                                                                                                                                         
.l.     cllll' ., .lc  :; .l'       l.    Shell: bash 5.2.21                                                                                                                                                            
.c       :lllc  ;cl:  .l' .ll.      :'    Display (AUOA195): 2240x1400 @ 60 Hz in 14" [Built-in]                                                                                                                        
.l        'looc. .   ,o:  'oo'      c,    Cursor: Adwaita                                                                                                                                                               
.o.         .:ool::coc'  .ooo'      o.    Terminal: deepin-terminal                                                                                                                                                     
 ::            .....   .;dddo      ;c     Terminal Font: Noto Sans Mono (11pt)                                                                                                                                          
  l:...            .';lddddo.     ,o      CPU: Intel(R) Core(TM) Ultra 7 155H (22) @ 4.80 GHz                                                                                                                           
   lxxxxxdoolllodxxxxxxxxxc      :l       GPU: Intel Arc Graphics @ 2.25 GHz [Integrated]                                                                                                                               
    ,dxxxxxxxxxxxxxxxxxxl.     'o,        Memory: 14.10 GiB / 30.81 GiB (46%)                                                                                                                                           
      ,dkkkkkkkkkkkkko;.    .;o;          Swap: 0 B / 16.00 GiB (0%)                                                                                                                                                    
        .;okkkkkdl;.    .,cl:.            Disk (/): 21.06 GiB / 99.87 GiB (21%) - xfs                                                                                                                                   
            .,:cccccccc:,.                Disk (/home): 427.74 GiB / 833.16 GiB (51%) - xfs                                                                                                                             
                                          Disk (/opt): 720.76 GiB / 953.40 GiB (76%) - xfs
                                          Local IP (enp0s31f6): 192.168.10.49/23
                                          Battery (LNV-5B11M75269��): 100% [AC Connected]
                                          Locale: zh_CN.UTF-8

硬盘信息如下:




root@highgo-pc:/dev/deepin# lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda               8:0    1     0B  0 disk 
sdb               8:16   1     0B  0 disk 
nvme0n1         259:0    0 953.9G  0 disk 
├─nvme0n1p1     259:1    0   300M  0 part /boot/efi
├─nvme0n1p2     259:2    0     4G  0 part /boot
├─nvme0n1p3     259:3    0   100G  0 part /var
│                                         /persistent/ostree
│                                         /ostree
│                                         /sysroot/ostree
│                                         /sysroot
│                                         /
├─nvme0n1p4     259:4    0    16G  0 part [SWAP]
└─nvme0n1p5     259:5    0 833.6G  0 part 
  └─deepin-home 253:0    0 833.6G  0 lvm  /home
nvme1n1         259:6    0 953.9G  0 disk 
└─deepin-opt    253:1    0 953.9G  0 lvm  /opt
root@highgo-pc:/dev/deepin# blkid 
/dev/nvme0n1p5: UUID="E2ucfx-oojK-p7g1-VcIq-amo7-ryui-2WkRir" TYPE="LVM2_member" PARTLABEL="primary" PARTUUID="981bef64-8008-4f43-b60a-ef9b92888eac"
/dev/nvme0n1p3: LABEL="Roota" UUID="f12a345a-39d9-4f18-bea4-f9acaaabadb1" BLOCK_SIZE="512" TYPE="xfs" PARTLABEL="primary" PARTUUID="8aa75fb2-c2d4-4ae3-8447-0385cb582f87"
/dev/nvme0n1p1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="4E93-E048" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="136a1663-266f-47bb-bc8d-70b78f677743"
/dev/nvme0n1p4: LABEL="SWAP" UUID="1fcec823-1a65-44d3-92c2-55052f5ebef4" TYPE="swap" PARTLABEL="primary" PARTUUID="6123111e-a900-4e83-80a4-4b3bb0fbd22d"
/dev/nvme0n1p2: LABEL="Boot" UUID="cc8c7c8d-7891-4f02-a713-31c2efba16cf" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="2eb9f307-22c3-4d02-a28e-aa9ecd90027f"
/dev/nvme1n1: UUID="331AWW-XqyR-RfCx-rn8x-9G4o-mg65-7Gxxx7" TYPE="LVM2_member"
/dev/mapper/deepin-opt: UUID="a732c53b-636c-46d1-88f4-8aca574f722e" BLOCK_SIZE="512" TYPE="xfs"
/dev/mapper/deepin-home: UUID="640a3462-236d-4138-971a-571d8b548710" BLOCK_SIZE="512" TYPE="xfs"
root@highgo-pc:/dev/deepin# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#                
Reply Favorite View the author
All Replies

No replies yet