Re: READ FPDMA QUEUED und Daten weg
Am Samstag, 21. April 2012 schrieb Siegfrid Brandstätter:
> Hallo Ulf,
>
> Am Samstag, 21. April 2012 schrieb Ulf Volmer:
> > On Sat, Apr 21, 2012 at 08:58:47PM +0100, Siegfrid Brandstätter
wrote:
> > > Nun habe ich es noch mal gelesen und kapiert.
> > > Aber wie mache ich das nun in meinem Fall. Die Daten kommen von
> > > einer HDD mit zwei LV
> > > # lvs
> > >
> > > LV VG Attr LSize Origin Snap% Move Log Copy%
> > > Kino backup -wi-a- 175,00g
> > > bk1 backup -wi-a- 224,61g
> > > Daten xvt1 -wi-ao 20,00g
> > >
> > > Kopiert mit ddrescue habe ich auf eine leere Externe ohne LVM, da
> > > muß ich keine Partitionen anlegen, oder sollte ich da zwei mit
> > > altem Namen anlegen (Kino und bk1)? So wie im obigen Beispiel
> >
> > Das ist eigentlich egal. Du kopiert Blockdevises, ob das Ziel nun
> > eine Partition. ein LVM- Device oder ein File ist, spielt
> > eigentlich keine Rolle.
>
> Danke! Das wäre dann bisher ja nicht falsch gewesen. Nun sollte ich
> also
>
> fdisk /dev/sdb ausführen, richtig? Aber was ist nun
>
Das war anscheinend ein Fehler von mir, bei mir heisst das device
/dev/mapper/udisks-luks
> Command (m for help): m
> Command action
> a toggle a bootable flag
> b edit bsd disklabel
> c toggle the dos compatibility flag
> d delete a partition
> l list known partition types
> m print this menu
> n add a new partition
> o create a new empty DOS partition table
> p print the partition table
> q quit without saving changes
> s create a new empty Sun disklabel
> t change a partition's system id
> u change display/entry units
> v verify the partition table
> w write table to disk and exit
> x extra functionality (experts only)
>
> p
>
> Disk /dev/sdb: 500.1 GB, 500107862016 bytes
> 215 heads, 5 sectors/track, 908626 cylinders, total 976773168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0004e32f
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 2048 2342911 1170432 82 Linux swap /
> Solaris
> /dev/sdb2 2342912 881250011 439453550 5 Extended
> /dev/sdb5 * 2342917 881250011 439453547+ 8e Linux LVM
>
> Irgendwie kapiere ich es nicht, die sdb ist doch die alte kaputte
> HDD, dort will ich doch nichts anlegen.
Blöderweise ist dazwischen der PC eingefroren, so dass ich rebooten
musste.
Ein dmesg sagte mir nun das meine Externe nun /dev/sdd wäre.
Danach habe ich ein:
# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel with disk identifier 0xa6ed10a0.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Aber beim nächsten Schritt kommt es zum Fehler:
# e2fsck -v -f /dev/sdd1
e2fsck 1.42.2 (9-Apr-2012)
e2fsck: Das Gerät oder die Ressource ist belegt beim Versuch, /dev/sdd
zu öffnen
Ist das Dateisystem eingehängt or exklusiv von einem anderen Programm
geöffnet worden?
Nun bin ich ratlos, wiedermal ;-)
--
Einen Schönen Gruß,
Sigi
Reply to: