Partitionsgröße ändern

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
_ash
Beiträge: 1219
Registriert: 13.05.2005 12:35:02

Partitionsgröße ändern

Beitrag von _ash » 16.12.2010 12:35:23

Ich habe ein LVM-verschlüsseltes Lenny System, und würde gerne die Größe der TMP-Partition ändern. Geht das, ohne das System neu aufsetzen zu müssen?

Hier meine fstab:

Code: Alles auswählen

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/tardis-root /               ext3    errors=remount-ro 0       1
/dev/sdb1       /boot           ext2    defaults,nodev,nosuid,noexec,ro        0       2
/dev/mapper/tardis-home /home           ext3    defaults,nodev,nosuid        0       2
/dev/mapper/tardis-tmp /tmp            ext3    defaults,nodev,nosuid        0       2
/dev/mapper/tardis-usr /usr            ext3    defaults,nodev,ro        0       2
/dev/mapper/tardis-var /var            ext3    defaults,nodev        0       2
/dev/mapper/tardis-swap_1 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sda3 	/home/prophet/Audio 	ntfs-3g defaults 	0 	0
Und hier die Ausgabe von fdisk:

Code: Alles auswählen

# fdisk -l -u

Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf2a7c526

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   168152354    84076146    7  HPFS/NTFS
/dev/sda2       168152355   575962379   203905012+   7  HPFS/NTFS
/dev/sda3       575962380   976768064   200402842+   7  HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00004c81

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63      498014      248976   83  Linux
/dev/sdb2          498015   976768064   488135025   83  Linux

Disk /dev/dm-0: 499.8 GB, 499849212928 bytes
255 heads, 63 sectors/track, 60769 cylinders, total 976267994 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 348 MB, 348127232 bytes
255 heads, 63 sectors/track, 42 cylinders, total 679936 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 4999 MB, 4999610368 bytes
255 heads, 63 sectors/track, 607 cylinders, total 9764864 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 2998 MB, 2998927360 bytes
255 heads, 63 sectors/track, 364 cylinders, total 5857280 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 2717 MB, 2717908992 bytes
255 heads, 63 sectors/track, 330 cylinders, total 5308416 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn't contain a valid partition table

Disk /dev/dm-5: 398 MB, 398458880 bytes
255 heads, 63 sectors/track, 48 cylinders, total 778240 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-5 doesn't contain a valid partition table

Disk /dev/dm-6: 488.3 GB, 488384757760 bytes
255 heads, 63 sectors/track, 59376 cylinders, total 953876480 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-6 doesn't contain a valid partition table

gbotti
Beiträge: 846
Registriert: 16.07.2010 14:24:43
Wohnort: München

Re: Partitionsgröße ändern

Beitrag von gbotti » 16.12.2010 15:06:40

Georg
RTFM, LMGTFY, Orakel... Ach... Warum muss man suchen...
Schrödingers Backup --- "Der Zustand eines Backups ist unbekannt, solange man es nicht wiederherstellt" --- Quelle: Nixcraft

Antworten