LVM-Snapshot [was: Div. Fragen zu lvm]
* Rainer Ellinger <rainer@ellinger.de>:
> Nachteile sehe nicht, ausser dass man etwas zusätzliches Know-how dazu
> benötigt. Ich denke, neben der grösseren Flexibilität bei der
> Handhabung von Partitionen, sind vor allem Snapshots das interessante
> Feature. Du kannst (wenn er Platz wurde richtig dimensioniert wurde) in
> wenigen Sekunden ein statisches Read-Only-Abbild einer Partition
> erzeugen und Dir dann mit dem Backup stundenlang Zeit lassen.
Ich habe dies probiert, aber ohne Erfolg mit den eingesetzten reiserfs
und ext3. Snapshot habe ich nach HOWTO errichtet:
lvcreate --size 4G -s -n snap /dev/st/var
bzw.
lvcreate --size 500m -s -n snap /dev/st/usr
Beim mounten von snap kommt bei reiserfs:
serfs: checking transaction log (device 3a:03) ...
clm-2076: device is readonly, unable to replay log
Replay Failure, unable to mount
reiserfs_read_super: unable to initialize journal space
Ein mount mit nolog wird mit reiserfs: nolog mount option not supported
yet quitiert. Er scheint immer da sLog schreibenj zu wollen - was ja
nicht geht.
Und bei ext3:
EXT2-fs: lvm(58,3): couldn't mount because of unsupported optional
features (4).
Sagt mir gar nichts.
Kernel ist 2.4.19. System: woody.
SEcki
--
The broad mass of a nation... will more easily fall victim to a big lie
than to a small one.
-- Adolf Hitler, "Mein Kampf"
http://www.gnu.org/philosophy/no-word-attachments.html
Reply to: