Direkt zum Hauptbereich

LVM erweitern

altekiste:/home/stefan# pvcreate /dev/hda1
Physical volume "/dev/hda1" successfully created
altekiste:/home/stefan# vgextend altekiste /dev/hda1
Volume group "altekiste" successfully extended
altekiste:/home/stefan# df
Dateisystem 1K‐Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/mapper/altekiste-root
190523084 134286260 46558796 75% /
tmpfs 258232 0 258232 0% /lib/init/rw
udev 10240 80 10160 1% /dev
tmpfs 258232 0 258232 0% /dev/shm
/dev/hdc1 241116 37492 191176 17% /boot
altekiste:/home/stefan# lvextend /dev/altekiste/root /dev/hda1
Extending logical volume root to 418,35 GB
Logical volume root successfully resized
altekiste:/home/stefan# df
Dateisystem 1K‐Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/mapper/altekiste-root
190523084 134286360 46558696 75% /
tmpfs 258232 0 258232 0% /lib/init/rw
udev 10240 80 10160 1% /dev
tmpfs 258232 0 258232 0% /dev/shm
/dev/hdc1 241116 37492 191176 17% /boot
altekiste:/home/stefan#
altekiste:/home/stefan# resize2fs /dev/altekiste/root
resize2fs 1.40.8 (13-Mar-2008)
Filesystem at /dev/altekiste/root is mounted on /; on-line resizing required
old desc_blocks = 12, new_desc_blocks = 27
Performing an on-line resize of /dev/altekiste/root to 109667328 (4k) blocks.
Das Dateisystem auf /dev/altekiste/root ist nun 109667328 Blöcke groß.
altekiste:/home/stefan# df
Dateisystem 1K‐Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/mapper/altekiste-root
431785864 134297424 275559604 33% /
tmpfs 258232 0 258232 0% /lib/init/rw
udev 10240 80 10160 1% /dev
tmpfs 258232 0 258232 0% /dev/shm
/dev/hdc1 241116 37492 191176 17% /boot
altekiste:/home/stefan#
Quellen:
http://jbopensrc.wordpress.com/2007/10/10/growing-a-lvm2-ext3-partition/
Grundlegendes fand ich hier: http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/volume_group_overview.html

Kommentare

Beliebte Posts aus diesem Blog

Open DRM-Free Unencrypted DVB-T2 Tv and Radio in Austria

Most things in Austria terestical TV got encrypted since DVB-T got shut down, but there are still three TV channels and three Radio Channels unencrypted. I had some hard time to find out how to get it working using linux... and non existing documentation of the sender did not help. Howerver... if you have use for detailed channel setup arround vienna, take a look: Tvheadend seems to lack channel search support using DVB-T2, but puzzeling every value together works fine: Mux A-WNB Channel Frequency: 498000000 Bandwitdh: 8MHz Constellation; QAM/16 Mux B2 Channel Frequency: 578000000 Bandwitdh: 8MHz Constellation; QAM/16 Unstable Twin Tuner I am using some twin tuner. That was not supported on older kernel version, but is now supported on current versions. Great? nope. The system/tvheadend gets unstable if two tuner are enabled running for weeks. After disabling one tuner, tvheadend runs reliable for months. List of unencrypted streams Example stream info tv channel   Surround sound ...

Cleanup your windows machine

still working: Use these lines to get your windows system cleaned up a bit and free your disk from old temporary and backup files: RD %temp%\ /S /Q rd /s /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\VSEQT\QTController rd %windir%\temp\ /s /q rd C:\TEMP\ /s /q rd C:\Quarantine /s /q rd "%userprofile%\AppData\Local\Temp\"  /s /q del C:\Windows\Installer\.tmp RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.0\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.5\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\" RD /S /Q "%userprofile%\AppData\Local\Microso...

pdf to dxf

if you get a cad plan in pdf format you have a problem: Pdf can not be loaded in most cad programs. I used pstoedit to solve this problem. Pstoedit is a free tool to convert pdfs to dxf. What you have to do: Install pstoedit Install ghostscript shot at your pdfs: pstoedit.exe <pdfSource> <dxfOutput> -f dxf thanks to the author of pstoedit! Here is the pstoedit.exe -help output: No output format specified (-f option) and format could not be uniquely deduced from suffix .dxf of output file Available formats :     psf:            .fps:    Flattened PostScript (no curves)     (built-in) -------------------------------------------     ps:            .spsc:    Simplified PostScript with curves     (built-in) -------------------------------------------     debug:         ...