LINUX.ORG.RU

История изменений

Исправление Black_Shadow, (текущая версия) :

Ну вот, я перенёс каталог Games размером 63Gb на HDD, и теперь картина такая:

$ sudo lvs -o +devices
  LV               VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices             
  boot             gentoo_sys -wi-ao---- 128,00m                                                     /dev/nvme0n1p2(0)   
  home             gentoo_sys -wi-ao---- 150,00g                                                     /dev/nvme0n1p2(4)   
  opt              gentoo_sys -wi-ao----  10,00g                                                     /dev/nvme0n1p2(4804)
  rootfs           gentoo_sys -wi-ao----  30,00g                                                     /dev/nvme0n1p2(5444)
  sergey-Downloads gentoo_sys -wi-ao----  20,00g                                                     /dev/sda1(512)      
  sergey-Games     gentoo_sys -wi-ao----  90,00g                                                     /dev/sda1(1152)     
  sergey-vmware    gentoo_sys -wi-ao----  80,00g                                                     /dev/nvme0n1p2(7044)
  swap01           gentoo_sys -wi-ao----  16,00g                                                     /dev/sda1(0)        
  var              gentoo_sys -wi-ao----  20,00g                                                     /dev/nvme0n1p2(6404)
$ sudo pvs
  PV             VG         Fmt  Attr PSize   PFree  
  /dev/nvme0n1p2 gentoo_sys lvm2 a--  476,44g 186,31g
  /dev/sda1      gentoo_sys lvm2 a--  700,09g 574,09g
$ df
Файловая система                         1K-блоков Использовано  Доступно Использовано% Cмонтировано в
none                                       8211044         3864   8207180            1% /run
udev                                         10240            0     10240            0% /dev
tmpfs                                      8211044        28968   8182076            1% /dev/shm
/dev/mapper/gentoo_sys-rootfs             30832636     12447572  16984580           43% /
cgroup_root                                  10240            0     10240            0% /sys/fs/cgroup
/dev/mapper/gentoo_sys-boot                 122835        41972     71689           37% /boot
/dev/nvme0n1p1                              523248        44796    478452            9% /boot/efi
tmpfs                                      6291456        68328   6223128            2% /tmp
/dev/mapper/gentoo_sys-var                20511356      4518580  15053660           24% /var
/dev/mapper/gentoo_sys-home              154687468     40389736 107640688           28% /home
/dev/mapper/gentoo_sys-opt                10190136      2528256   7149176           27% /opt
/dev/mapper/gentoo_sys-sergey--vmware     83845120     22389332  61455788           27% /home/sergey/vmware
/dev/mapper/gentoo_sys-sergey--Downloads  20642428      1384532  18209320            8% /home/sergey/Downloads
tmpfs                                      9437184            0   9437184            0% /var/tmp/portage
none                                       8211044           12   8211032            1% /run/user/1000
/dev/mapper/gentoo_sys-sergey--Games      92366840     65307128  22341120           75% /home/sergey/Games
$ sudo smartctl -x /dev/nvme0
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.12.8-gentoo] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 960 PRO 512GB
Serial Number:                      S3EWNWAJ335945L
Firmware Version:                   2B6QCXP7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 512 110 190 592 [512 GB]
Unallocated NVM Capacity:           0
Controller ID:                      2
Number of Namespaces:               1
Namespace 1 Size/Capacity:          512 110 190 592 [512 GB]
Namespace 1 Utilization:            177 639 538 688 [177 GB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Mon Aug 21 11:03:18 2017 MSK
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     73 Celsius
Critical Comp. Temp. Threshold:     76 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     6.90W       -        -    0  0  0  0        0       0
 1 +     5.50W       -        -    1  1  1  1        0       0
 2 +     5.10W       -        -    2  2  2  2        0       0
 3 -   0.0500W       -        -    3  3  3  3      210    1200
 4 -   0.0080W       -        -    4  4  4  4     2000    6000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        33 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    2 605 473 [1,33 TB]
Data Units Written:                 2 702 542 [1,38 TB]
Host Read Commands:                 36 117 185
Host Write Commands:                15 632 923
Controller Busy Time:               106
Power Cycles:                       143
Power On Hours:                     39
Unsafe Shutdowns:                   32
Media and Data Integrity Errors:    0
Error Information Log Entries:      83
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               33 Celsius
Temperature Sensor 2:               39 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0         83     0  0x0018  0x4004  0x02c            0     0     -
  1         82     0  0x0017  0x4004  0x02c            0     0     -
  2         81     0  0x0018  0x4004  0x02c            0     0     -
  3         80     0  0x0017  0x4004  0x02c            0     0     -
  4         79     0  0x0018  0x4004  0x02c            0     0     -
  5         78     0  0x0017  0x4004  0x02c            0     0     -
  6         77     0  0x0018  0x4004  0x02c            0     0     -
  7         76     0  0x0017  0x4004  0x02c            0     0     -
  8         75     0  0x0018  0x4004  0x02c            0     0     -
  9         74     0  0x0017  0x4004  0x02c            0     0     -
 10         73     0  0x0018  0x4004  0x02c            0     0     -
 11         72     0  0x0017  0x4004  0x02c            0     0     -
 12         71     0  0x0018  0x4004  0x02c            0     0     -
 13         70     0  0x0017  0x4004  0x02c            0     0     -
 14         69     0  0x0018  0x4004  0x02c            0     0     -
 15         68     0  0x0017  0x4004  0x02c            0     0     -
... (48 entries not shown)
Может быть, что-то не так с выравниванием разделов?
# gdisk /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/nvme0n1: 1000215216 sectors, 476.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): BD26E73C-AFA6-4F7C-867F-A8ABED26F3A6
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1000215182
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1050623   512.0 MiB   EF00  EFI System
   2         1050624      1000215182   476.4 GiB   8E00  Linux LVM
                                                                                                                         
Command (? for help):

Исправление Black_Shadow, :

Ну вот, я перенёс каталог Games размером 63Gb на HDD, и теперь картина такая:

$ sudo lvs -o +devices
  LV               VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices             
  boot             gentoo_sys -wi-ao---- 128,00m                                                     /dev/nvme0n1p2(0)   
  home             gentoo_sys -wi-ao---- 150,00g                                                     /dev/nvme0n1p2(4)   
  opt              gentoo_sys -wi-ao----  10,00g                                                     /dev/nvme0n1p2(4804)
  rootfs           gentoo_sys -wi-ao----  30,00g                                                     /dev/nvme0n1p2(5444)
  sergey-Downloads gentoo_sys -wi-ao----  20,00g                                                     /dev/sda1(512)      
  sergey-Games     gentoo_sys -wi-ao----  90,00g                                                     /dev/sda1(1152)     
  sergey-vmware    gentoo_sys -wi-ao----  80,00g                                                     /dev/nvme0n1p2(7044)
  swap01           gentoo_sys -wi-ao----  16,00g                                                     /dev/sda1(0)        
  var              gentoo_sys -wi-ao----  20,00g                                                     /dev/nvme0n1p2(6404)
$ sudo pvs
  PV             VG         Fmt  Attr PSize   PFree  
  /dev/nvme0n1p2 gentoo_sys lvm2 a--  476,44g 186,31g
  /dev/sda1      gentoo_sys lvm2 a--  700,09g 574,09g
$ df
Файловая система                         1K-блоков Использовано  Доступно Использовано% Cмонтировано в
none                                       8211044         3864   8207180            1% /run
udev                                         10240            0     10240            0% /dev
tmpfs                                      8211044        28968   8182076            1% /dev/shm
/dev/mapper/gentoo_sys-rootfs             30832636     12447572  16984580           43% /
cgroup_root                                  10240            0     10240            0% /sys/fs/cgroup
/dev/mapper/gentoo_sys-boot                 122835        41972     71689           37% /boot
/dev/nvme0n1p1                              523248        44796    478452            9% /boot/efi
tmpfs                                      6291456        68328   6223128            2% /tmp
/dev/mapper/gentoo_sys-var                20511356      4518580  15053660           24% /var
/dev/mapper/gentoo_sys-home              154687468     40389736 107640688           28% /home
/dev/mapper/gentoo_sys-opt                10190136      2528256   7149176           27% /opt
/dev/mapper/gentoo_sys-sergey--vmware     83845120     22389332  61455788           27% /home/sergey/vmware
/dev/mapper/gentoo_sys-sergey--Downloads  20642428      1384532  18209320            8% /home/sergey/Downloads
tmpfs                                      9437184            0   9437184            0% /var/tmp/portage
none                                       8211044           12   8211032            1% /run/user/1000
/dev/mapper/gentoo_sys-sergey--Games      92366840     65307128  22341120           75% /home/sergey/Games
$ sudo smartctl -x /dev/nvme0
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.12.8-gentoo] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 960 PRO 512GB
Serial Number:                      S3EWNWAJ335945L
Firmware Version:                   2B6QCXP7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 512 110 190 592 [512 GB]
Unallocated NVM Capacity:           0
Controller ID:                      2
Number of Namespaces:               1
Namespace 1 Size/Capacity:          512 110 190 592 [512 GB]
Namespace 1 Utilization:            177 639 538 688 [177 GB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Mon Aug 21 11:03:18 2017 MSK
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     73 Celsius
Critical Comp. Temp. Threshold:     76 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     6.90W       -        -    0  0  0  0        0       0
 1 +     5.50W       -        -    1  1  1  1        0       0
 2 +     5.10W       -        -    2  2  2  2        0       0
 3 -   0.0500W       -        -    3  3  3  3      210    1200
 4 -   0.0080W       -        -    4  4  4  4     2000    6000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        33 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    2 605 473 [1,33 TB]
Data Units Written:                 2 702 542 [1,38 TB]
Host Read Commands:                 36 117 185
Host Write Commands:                15 632 923
Controller Busy Time:               106
Power Cycles:                       143
Power On Hours:                     39
Unsafe Shutdowns:                   32
Media and Data Integrity Errors:    0
Error Information Log Entries:      83
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               33 Celsius
Temperature Sensor 2:               39 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0         83     0  0x0018  0x4004  0x02c            0     0     -
  1         82     0  0x0017  0x4004  0x02c            0     0     -
  2         81     0  0x0018  0x4004  0x02c            0     0     -
  3         80     0  0x0017  0x4004  0x02c            0     0     -
  4         79     0  0x0018  0x4004  0x02c            0     0     -
  5         78     0  0x0017  0x4004  0x02c            0     0     -
  6         77     0  0x0018  0x4004  0x02c            0     0     -
  7         76     0  0x0017  0x4004  0x02c            0     0     -
  8         75     0  0x0018  0x4004  0x02c            0     0     -
  9         74     0  0x0017  0x4004  0x02c            0     0     -
 10         73     0  0x0018  0x4004  0x02c            0     0     -
 11         72     0  0x0017  0x4004  0x02c            0     0     -
 12         71     0  0x0018  0x4004  0x02c            0     0     -
 13         70     0  0x0017  0x4004  0x02c            0     0     -
 14         69     0  0x0018  0x4004  0x02c            0     0     -
 15         68     0  0x0017  0x4004  0x02c            0     0     -
... (48 entries not shown)

Исходная версия Black_Shadow, :

Ну вот, я перенёс каталог Games размером 63Gb на HDD, и теперь картина такая:

$ sudo lvs -o +devices
  LV               VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices             
  boot             gentoo_sys -wi-ao---- 128,00m                                                     /dev/nvme0n1p2(0)   
  home             gentoo_sys -wi-ao---- 150,00g                                                     /dev/nvme0n1p2(4)   
  opt              gentoo_sys -wi-ao----  10,00g                                                     /dev/nvme0n1p2(4804)
  rootfs           gentoo_sys -wi-ao----  30,00g                                                     /dev/nvme0n1p2(5444)
  sergey-Downloads gentoo_sys -wi-ao----  20,00g                                                     /dev/sda1(512)      
  sergey-Games     gentoo_sys -wi-ao----  90,00g                                                     /dev/sda1(1152)     
  sergey-vmware    gentoo_sys -wi-ao----  80,00g                                                     /dev/nvme0n1p2(7044)
  swap01           gentoo_sys -wi-ao----  16,00g                                                     /dev/sda1(0)        
  var              gentoo_sys -wi-ao----  20,00g                                                     /dev/nvme0n1p2(6404)
$ sudo pvs
  PV             VG         Fmt  Attr PSize   PFree  
  /dev/nvme0n1p2 gentoo_sys lvm2 a--  476,44g 186,31g
  /dev/sda1      gentoo_sys lvm2 a--  700,09g 574,09g
$ df
Файловая система                         1K-блоков Использовано  Доступно Использовано% Cмонтировано в
none                                       8211044         3864   8207180            1% /run
udev                                         10240            0     10240            0% /dev
tmpfs                                      8211044        28968   8182076            1% /dev/shm
/dev/mapper/gentoo_sys-rootfs             30832636     12447572  16984580           43% /
cgroup_root                                  10240            0     10240            0% /sys/fs/cgroup
/dev/mapper/gentoo_sys-boot                 122835        41972     71689           37% /boot
/dev/nvme0n1p1                              523248        44796    478452            9% /boot/efi
tmpfs                                      6291456        68328   6223128            2% /tmp
/dev/mapper/gentoo_sys-var                20511356      4518580  15053660           24% /var
/dev/mapper/gentoo_sys-home              154687468     40389736 107640688           28% /home
/dev/mapper/gentoo_sys-opt                10190136      2528256   7149176           27% /opt
/dev/mapper/gentoo_sys-sergey--vmware     83845120     22389332  61455788           27% /home/sergey/vmware
/dev/mapper/gentoo_sys-sergey--Downloads  20642428      1384532  18209320            8% /home/sergey/Downloads
tmpfs                                      9437184            0   9437184            0% /var/tmp/portage
none                                       8211044           12   8211032            1% /run/user/1000
/dev/mapper/gentoo_sys-sergey--Games      92366840     65307128  22341120           75% /home/sergey/Games