Ich hab meinen 1und1 Server zwangsweise zweimal geresettet und wollte jetzt mal nen Filesystemcheck machen, der ja bei den Servern nicht automatisch beim booten läuft, allerdings bräuchte ich dazu a weng Hilfe.
Ich muss den Rechner im Rescue hochziehen, das ist mir klar. Und dann ?
klappt irgendwie ned so wirklich
/fdisk -l
Code: Select all
Device Boot Start End Blocks Id System
/dev/sda1 1 66 530113+ 83 Linux
/dev/sda2 67 321 2048287+ 82 Linux swap / Solaris
/dev/sda4 322 9729 75569760 5 Extended
/dev/sda5 322 959 5124703+ 83 Linux
/dev/sda6 960 1597 5124703+ 83 Linux
/dev/sda7 1598 9729 65320258+ 83 Linux
Code: Select all
LABEL=/ / ext3 defaults 0 1
/dev/sda2 none swap sw
LABEL=usr /usr xfs defaults 0 2
LABEL=var /var xfs defaults,usrquota 0 2
LABEL=home /home xfs defaults,usrquota 0 2
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
tmpfs /tmp tmpfs defaults 0 0
Code: Select all
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 8131.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Muss ich da was unternehmen ? und wie checke ich das Filesystem ? fsck.xfs /dev/sda7 (z.B. ?) was muss ich mit .ext3 checken ?