Hetzner - DokuWiki

Reparieren eines LVM-Volumes/en
(eng. übersetzung)
 
 
Zeile 1: Zeile 1:
 +
{{Languages|Reparieren eines LVM-Volumes}}
 +
 
== Recovery of LVM Volumes ==
 
== Recovery of LVM Volumes ==
  
If you see the warning below after a SSH login, then it's about time to recover the said logical partitions.<br/>
+
If you see the warning below after a SSH login, then it's about time to recover the said logical partitions.
  
 
  *** /dev/md2 should be checked for errors ***
 
  *** /dev/md2 should be checked for errors ***
 
  *** /dev/md1 should be checked for errors ***
 
  *** /dev/md1 should be checked for errors ***
  
Warning: The logical partitions should not be mounted. Using "mount"/the command "mount", double check which partitions have which file systems and which partitions are mounted. Here's an excerpt:<br/>
+
Warning: The logical partitions should not be mounted. Using the command "mount", double check which partitions have which file systems, and which partitions are mounted. Here's an excerpt:
  
 
  mount
 
  mount
Zeile 12: Zeile 14:
 
  /dev/md2 on / type ext3 (rw)
 
  /dev/md2 on / type ext3 (rw)
  
Write down the output of mount on your system for md1 and md2. Now start the Hetzner Rescue System.<br/>
+
Write down the output of mount on your system for md1 and md2. Now start the Hetzner Rescue System.
  
Unmount md1 and md2. <br/>
+
Unmount md1 and md2.
 
  umount /dev/md1
 
  umount /dev/md1
  
The follwoing command will detect the file system type.<br/>
+
The following command will detect the file system type.
  
 
  fsck -C0 -y /dev/md1
 
  fsck -C0 -y /dev/md1
  
If you already know the file system type of the partition (command "mount"), then you can directly name the file system type in the command (if necessary replace ex3 with the detected file system type.<br/>
+
If you already know the file system type of the partition (command "mount"), then you can directly name the file system type in the command (if necessary replace ext3 with the detected file system type).
  
 
  /sbin/fsck -t ext3 /dev/md1
 
  /sbin/fsck -t ext3 /dev/md1
  
 
[[Kategorie:Dedizierte Server]]
 
[[Kategorie:Dedizierte Server]]

Aktuelle Version vom 25. Juni 2015, 12:04 Uhr

Recovery of LVM Volumes

If you see the warning below after a SSH login, then it's about time to recover the said logical partitions.

*** /dev/md2 should be checked for errors ***
*** /dev/md1 should be checked for errors ***

Warning: The logical partitions should not be mounted. Using the command "mount", double check which partitions have which file systems, and which partitions are mounted. Here's an excerpt:

mount
/dev/md1 on /boot type ext3 (rw)
/dev/md2 on / type ext3 (rw)

Write down the output of mount on your system for md1 and md2. Now start the Hetzner Rescue System.

Unmount md1 and md2.
umount /dev/md1

The following command will detect the file system type.

fsck -C0 -y /dev/md1

If you already know the file system type of the partition (command "mount"), then you can directly name the file system type in the command (if necessary replace ext3 with the detected file system type).

/sbin/fsck -t ext3 /dev/md1


© 2019. Hetzner Online GmbH. Alle Rechte vorbehalten.