find ./ -type f -name '*source-string*'

linux | hdd | disk storage management

# ===========================================================
# ---    : UUID
#
ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root  9 May  3 14:30 2aa0b34a-4973-417e-b3a5-31a6250cf371 -> ../../sdb
lrwxrwxrwx 1 root root 10 May  3 08:22 6becdca2-711c-4e69-8094-85b94660cf77 -> ../../sda1
lrwxrwxrwx 1 root root 10 May  3 08:22 c8574139-12af-4a46-9338-e55ef60b151a -> ../../sda6
lrwxrwxrwx 1 root root 10 May  3 08:22 cba36109-8809-40f6-a1d0-850c2160fc13 -> ../../sda5
# ---
sudo blkid /dev/sdb
/dev/sdb: UUID="2aa0b34a-4973-417e-b3a5-31a6250cf371" TYPE="ext4"
#
# ---------------------------------------------------------

# =========================================================
# ---    : parted
#    URL.: http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html

#    parted
#    (parted) select /dev/sda
#    (parted)print           
#    Model: ATA KINGSTON SV300S3 (scsi)
#    Disk /dev/sda: 120GB
#    Sector size (logical/physical): 512B/512B
#    Partition Table: msdos
#
#    Number  Start   End     Size    Type      File system     Flags
#     1      1049kB  18.0GB  18.0GB  primary   ext4            boot
#     2      18.0GB  120GB   102GB   extended
#     5      18.0GB  114GB   96.0GB  logical   ext4
#     6      114GB   120GB   5999MB  logical   linux-swap(v1)
#    make partition Flag to boot
#   (parted) set 1 boot on
#   GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize

#   Libparted 3.2
#   Check and repair file system (ext4) on /dev/sdd1  00:00:02    ( SUCCESS )
     	
#   calibrate /dev/sdd1  00:00:00    ( SUCCESS )
     	
#   path: /dev/sdd1 (partition)
#   start: 2048
#   end: 488396799
#   size: 488394752 (232.88 GiB)
#   check file system on /dev/sdd1 for errors and (if possible) fix them  00:00:02    ( SUCCESS )
     	
e2fsck -f -y -v -C 0 /dev/sdd1  # 00:00:02    ( SUCCESS )
     	
#   Pass 1: Checking inodes, blocks, and sizes
#   Pass 2: Checking directory structure
#   Pass 3: Checking directory connectivity
#   Pass 4: Checking reference counts
#   Pass 5: Checking group summary information

#   11 inodes used (0.00%, out of 15269888)
#   0 non-contiguous files (0.0%)
#   0 non-contiguous directories (0.0%)
#   # of inodes with ind/dind/tind blocks: 0/0/0
#   Extent depth histogram: 3
#   1006245 blocks used (1.65%, out of 61049344)
#   0 bad blocks
#   1 large file

#   0 regular files
#   2 directories
#   0 character device files
#   0 block device files
#   0 fifos
#   0 links
#   0 symbolic links (0 fast symbolic links)
#   0 sockets
#   ------------
#   2 files
#   e2fsck 1.42.13 (17-May-2015)
#   grow file system to fill the partition  00:00:00    ( SUCCESS )
     	
resize2fs -p /dev/sdd1  #00:00:00    ( SUCCESS )
     	
#   resize2fs 1.42.13 (17-May-2015)
#   The filesystem is already 61049344 (4k) blocks long. Nothing to do!

https://www.cyberciti.biz/faq/recover-bad-superblock-from-corrupted-partition/

dumpe2fs /dev/sda2 | grep superblock
fsck -b 32768 /dev/sda2

1 Kommentar zu linux | hdd | disk storage management

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.