[gull] [Q] monter une "sous-partition"?
sneaky56 at gmx.net
sneaky56 at gmx.net
Fri Jul 17 14:45:17 CEST 2009
Bonjour,
Je commence avec kvm. J'ai une partition du guest (/dev/sdb5, 10GB) que j'ai réservé pour un guest. Dans le guest (kvm -hda /dev/sdb5), j'ai donc un disque de 10GB que je partitionne en 2 (swap + /).
Maintenant ma question: est-il possible de monter (en read-only) depuis le host la partition root (/) du guest?
Je tourne du Debian testing et fdisk me donne (sur le host):
# fdisk -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff35415a
Device Boot Start End Blocks Id System
/dev/sdb2 1 1045 8393931 82 Linux swap / Solaris
/dev/sdb4 1046 60801 479990070 5 Extended
/dev/sdb5 1046 2351 10490413+ 83 Linux
# fdisk -l /dev/sdb5
Disk /dev/sdb5: 10.7 GB, 10742183424 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cc1dd
Device Boot Start End Blocks Id System
/dev/sdb5p1 1 62 497983+ 82 Linux swap / Solaris
/dev/sdb5p2 63 1305 9984397+ 83 Linux
#
Inutile de préciser que je n'ai aucun device /dev/sdb5p2.
Merci pour vos idées
tom
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
More information about the gull
mailing list