[SOLVED] Не монтируется раздел sda4 (Home).

Не монтируется раздел sda4 (Home)

После обновления не монтируется автоматически раздел sda4 - вот что fstab содержит:

 # / was on /dev/sda2 during installation
UUID=7c22d125-e251-4323-9a73-ddaa051cb672<----->/<----->ext4<-->noatime>0 1

#UUID=8ef9a0bc-8eca-4542-85eb-89717fb22a6c<---->/home/set<----->ext4 noatime 0 0
#UUID=8ef9a0bc-8eca-4542-85eb-89717fb22a6c<---->/home/set<----->ext4<-->noatime,noauto<>0 0

 # /home was on /dev/sda4 during installation
UUID=737ea3fe-f964-4733-bc7e-da6b3a153aeb<----->/home<->ext4<-->noatime,auto<-->0 0

 # swap was on /dev/sda1 during installation
UUID=c149e46e-7160-458b-b546-5aeb89f9b853<----->none<-->swap<-->sw<---->0 0


tmpfs<->/tmp<-->tmpfs<->size=4048M,mode=0777 0 0
proc<--><------>/proc<-><------>proc<-->defaults<------><------>0 0
shm<---><------>/dev/shm<------>tmpfs<->nodev,nosuid,noexec<--->0 0

Вывод blkid.

~ # blkid -c /dev/null    
/dev/sda1: UUID="c149e46e-7160-458b-b546-5aeb89f9b853" TYPE="swap" PARTUUID="f5eccd51-01"

/dev/sda2: LABEL="CLD-14" UUID="7c22d125-e251-4323-9a73-ddaa051cb672" TYPE="ext4" PARTUUID="f5eccd51-02" 

/dev/sda4: UUID="737ea3fe-f964-4733-bc7e-da6b3a153aeb" TYPE="ext4" PARTUUID="f5eccd51-04" 

/dev/sdb1: LABEL="SystemXP" UUID="3C089023088FDA72" TYPE="ntfs" PARTUUID="06000600-01"

/dev/sdc1: LABEL="M-PM-^WM-PM-0M-QM-^@M-PM-5M-PM-7M-PM-5M-QM-^@M-PM-2M-PM-8M-QM-^@M-PM->M-PM-2M-PM-0M-PM-=M-PM-> M-QM-^AM-PM-8M-QM-^AM-QM-^BM-PM-5M-PM-<M-PM->M-PM-9" UUID="3EA2B831A2B7EC11" TYPE="ntfs" PARTUUID="fed7fed7-01" /dev/sdc2: LABEL="System7" UUID="5458BAC858BAA7DE" TYPE="ntfs" PARTUUID="fed7fed7-02"

Вывод df

~ # df -a
Файловая система 1K-блоков Использовано Доступно Использовано% Cмонтировано в
rootfs                   -            -        -             - /
proc                     0            0        0             - /proc
sysfs                    0            0        0             - /sys
devtmpfs             10240            0    10240            0% /dev
devpts                   0            0        0             - /dev/pts
tmpfs              4084924         1040  4083884            1% /run
/dev/sda2                -            -        -             - /
debugfs                  0            0        0             - /sys/kernel/debug
cgroup_root          10240            0    10240            0% /sys/fs/cgroup
openrc                   0            0        0             - /sys/fs/cgroup/openrc
mqueue                   0            0        0             - /dev/mqueue
cpu                      0            0        0             - /sys/fs/cgroup/cpu
cpuacct                  0            0        0             - /sys/fs/cgroup/cpuacct
memory                   0            0        0             - /sys/fs/cgroup/memory
net_cls                  0            0        0             - /sys/fs/cgroup/net_cls
blkio                    0            0        0             - /sys/fs/cgroup/blkio
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
/dev/sda4                -            -        -             - /home
tmpfs             59656448     16932384 39670592           30% /tmp
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc
shm                4084924            0  4084924            0% /dev/shm
binfmt_misc              0            0        0             - /proc/sys/fs/binfmt_misc

Вывод mount

~ # mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=10240k,nr_inodes=1019975,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda2 on / type ext4 (rw,noatime,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
/dev/sda4 on /home type ext4 (rw,noatime)
tmpfs on /tmp type tmpfs (rw,size=4048M,mode=0777)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
shm on /dev/shm type tmpfs (rw,nodev,nosuid,noexec)

~ # uname -a
Linux k41 4.2.3-calculate #1 SMP PREEMPT Tue Oct 27 10:30:19 UTC 2015 x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz GenuineIntel GNU/Linux

Дистрибутив CLD

Везде видно что он смонтирован, а на самом деле нет. Могу дать “консоль”…

Фантастика… давно у меня такого не было после обновления (:.

В терминале: ls /dev/sd* система вообще видит sda4. Если видит то там должна быть /dev/sda4. Ручками монтируется ?! Если примонтируется без проблем, /etc/init.d/consolekit status что ?!

Вывод ls:

~ # ls /dev/sd*

/dev/sda  /dev/sda1  /dev/sda2  /dev/sda4  /dev/sdb  /dev/sdb1  /dev/sdc  /dev/sdc1  /dev/sdc2

Статус consolekit:

~ # /etc/init.d/consolekit status

* status: started

Вывод mount (я уже руками смонтировал).

~ # mount /home/

mount: /dev/sda4 is already mounted or /home busy
       /dev/sda4 is already mounted on /home
       /dev/sda4 is already mounted on /home

Попытайся примонтировать а потом глянуть dmesg | tail -n20 так какие-нибудь ошибки есть ?!

 ~ # mount /home/

 ~ # dmesg | tail -n20 
[   20.498331] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[   20.500528] IPv6: ADDRCONF(NETDEV_UP): wlp5s2: link is not ready
[   20.510027] IPv6: ADDRCONF(NETDEV_UP): wlp5s2: link is not ready
[   21.100703] IPv6: ADDRCONF(NETDEV_UP): wlp5s2: link is not ready
[   21.861880] [drm] Initialized drm 1.1.0 20060810
[   22.184631] nvidia: module license 'NVIDIA' taints kernel.
[   22.184634] Disabling lock debugging due to kernel taint
[   22.196569] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[   22.196766] NVLINK: Nvlink Core is being initialized, major device number 247
[   22.197200] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
[   22.197208] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  355.11  Wed Aug 26 16:35:41 PDT 2015
[   22.424699] r8169 0000:04:00.0 enp4s0: link up
[   22.424706] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[   22.803361] NVRM: Your system is not currently configured to drive a VGA console
[   22.803364] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[   22.803366] NVRM: requires the use of a text-mode VGA console. Use of other console
[   22.803367] NVRM: drivers including, but not limited to, vesafb, may result in
[   22.803368] NVRM: corruption and stability problems, and is not supported.
[   57.799381] EXT4-fs (sda4): warning: mounting fs with errors, running e2fsck is recommended
[   57.800436] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
~ # e2fsck -y /dev/sda4
e2fsck 1.42.13 (17-May-2015)
/dev/sda4 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 7733286 has zero dtime.  Fix? yes

Deleted inode 7734031 has zero dtime.  Fix? yes

Deleted inode 7734035 has zero dtime.  Fix? yes

Inodes that were part of a corrupted orphan linked list found.  Fix? yes

Inode 7734049 was part of the orphaned inode list.  FIXED.
Deleted inode 7734075 has zero dtime.  Fix? yes

Deleted inode 7734120 has zero dtime.  Fix? yes

Inode 7739676 was part of the orphaned inode list.  FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(1281802--1281822) -30966158 -31068188 -31161892 -31187493 -(31233590--31233597) -31234113 -(31246978--31246985) -31247896 -31976960 -31976968 -32053256 -(32091648--32091654) -(32091669--32091670) -32091673 -32091679
Fix? yes

Free blocks count wrong for group #39 (1380, counted=1401).
Fix? yes

Free blocks count wrong for group #945 (857, counted=858).
Fix? yes

Free blocks count wrong for group #948 (30780, counted=30781).
Fix? yes

Free blocks count wrong for group #950 (28452, counted=28453).
Fix? yes

Free blocks count wrong for group #951 (30746, counted=30747).
Fix? yes

Free blocks count wrong for group #953 (31281, counted=31299).
Fix? yes

Free blocks count wrong for group #975 (32651, counted=32653).
Fix? yes

Free blocks count wrong for group #978 (27932, counted=27933).
Fix? yes

Free blocks count wrong for group #979 (20923, counted=20934).
Fix? yes

Free blocks count wrong (16300771, counted=16300828).
Fix? yes

Inode bitmap differences:  -7733286 -7734031 -7734035 -7734049 -7734075 -7734120 -7739676
Fix? yes

Free inodes count wrong for group #944 (1658, counted=1665).
Fix? yes

Free inodes count wrong (10991724, counted=10991731).
Fix? yes


/dev/sda4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda4: 100237/11091968 files (1.9% non-contiguous), 28048986/44349814 blocks

Все равно не монтируется.

А что в smartctl -a /dev/sda ?

~ # smartctl -a /dev/sda

smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.2.3-calculate] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.10
Device Model:     ST3250410AS
Serial Number:    9RY0D3JX
Firmware Version: 3.AAC
User Capacity:    250,058,268,160 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 (minor revision not indicated)
Local Time is:    Mon Nov 23 06:38:11 2015 SAMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  430) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.                                                                                     
                                        Auto Offline data collection on/off support.                                                                         
                                        Suspend Offline collection upon new                                                                                  
                                        command.                                                                                                             
                                        Offline surface scan supported.                                                                                      
                                        Self-test supported.                                                                                                 
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  64) minutes.
SCT capabilities:              (0x0001) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   114   073   006    Pre-fail  Always       -       63658157
  3 Spin_Up_Time            0x0003   098   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   097   097   020    Old_age   Always       -       3810
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       22
  7 Seek_Error_Rate         0x000f   086   060   030    Pre-fail  Always       -       433386720
  9 Power_On_Hours          0x0032   082   082   000    Old_age   Always       -       15917
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   020    Old_age   Always       -       3717
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   073   049   045    Old_age   Always       -       27 (Min/Max 25/27)
194 Temperature_Celsius     0x0022   027   051   000    Old_age   Always       -       27 (0 16 0 0 0)
195 Hardware_ECC_Recovered  0x001a   088   046   000    Old_age   Always       -       197188649
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Вопрос решен. После обновления вопрос закрыт.