Mount File System LVM di Linux Lain.

Kadang kala kita perlu untuk mounting / membaca hard disk satu komputer ke komputer linux yang lain. Misalnya , mengambil data karena akan ganti hard disk. Secara kebetulan sistem filennya adalah LVM. Proses mounting sedikit berbeda dengan file sistem EXT2 / EXT3.

Langsung saja, berikut ini langkah-langkah yang kita perlukan untuk mounting LVM :

1. Lakukan semua proses ini sebagai root. Pertama, menentukan hard disk yang akan dimounting ada dimana, /dev/hdx ,… dengan menggunakan perintah fdisk -l

[root@zhuro suroto]# /sbin/fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0xd6e7d6e7

Device         Boot      Start      End        Blocks            Id    System

/dev/sda1      *             1          764       6136798+      83      Linux

/dev/sda2                    765       895        1052257+     82      Linux swap / Solaris

/dev/sda3                     896    9729     70959105        83      Linux

 

Disk /dev/sdb: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0xabe1abe1

Device        Boot   Start      End              Blocks       Id    System

/dev/sdb1    *         1             13              104391     83     Linux

/dev/sdb2             14         4865          38973690      8e    Linux LVM

 

2.  Deteksi keberadaan Volume Group, dengan perintah pvscan.

[root@zhuro suroto]# /sbin/pvscan

File descriptor 5 left open

File descriptor 7 left open

PV /dev/sdb2 VG VolGroup00 lvm2 [37.16 GB / 32.00 MB free]

Total: 1 [37.16 GB] / in use: 1 [37.16 GB] / in no VG: 0 [0 ]

 

3.  Coba lakukan mounting, dengan menggunakan perintah mount

[root@zhuro suroto]# mount /dev/VolGroup00/LogVol00 /media/sdb2

mount: special device /dev/VolGroup00/LogVol00 does not exist

ternyata device dianggap tidak ada. Ini karena volume yang ada belum aktif. Untuk itu lakukan perintah vgchange -ay

[root@zhuro suroto]# /sbin/vgchange -ay

File descriptor 5 left open

File descriptor 7 left open

2 logical volume(s) in volume group “VolGroup00″ now active

 

4. Ulangi lagi untuk perintah mount

[root@zhuro suroto]# mount /dev/VolGroup00/LogVol00 /media/sdb2

kalau masih ada error seperti ini:

mount: special device /dev/VolGroup00/LogVol00 does not exist

Berarti mount gagal , sebaliknya kalau tidak melihat apa-apa artinya sukses mount. Selanjutnya tinggal buka direktori  /media/sdb2.

 

INSTAL LINUX SLAX KE USB FLASH DISK

Ukuran linux Slax cukup kecil ,  kurang dari 256 MB, sehingga dapat ditaruh didalam flash disk . Instal Slax ke USB Flash sangat simple dan mudah.
Berikut step by step instal linux SLAX ke USB flash disk.
1. Format Flash disk menggunakan file system FAT.
2. Ekstrak file SLAX.tar ke flash disk. Hasilnya ada dua folder yaitu, folder boot dan slax.
3. Masuk ke folder boot. Jalankan bootinst.sh . Muncul tampilan dibawah:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to Slax boot installer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This installer will setup disk /dev/sdc1 to boot only Slax.

Warning! Master boot record (MBR) of /dev/sdc will be overwritten.
If you use /dev/sdc to boot any existing operating system, it will not work
anymore. Only Slax will boot from this device. Be careful!

Press any key to continue, or Ctrl+C to abort…

Flushing filesystem buffers, this may take a while…
Setting up MBR on /dev/sdc…
The Master Boot Record of /dev/sdc has been updated.
Activating partition /dev/sdc1…
No partition table modifications are needed.
Updating MBR on /dev/sdc…
Setting up boot record for /dev/sdc1…
Disk /dev/sdc1 should be bootable now. Installation finished.

Read the information above and then press any key to exit..

SELESAI.

Matikan Trojan TR/Hacktool.Tcpz.A

Salah satu komputer client kena salah trojan , yang oleh Antivirus Avira dikenal dengan nama TR/Hacktool.Tcpz.A . Nama lain dari trojan ini Win32.Tcpz[Tool] ( Avast ), Dropper.Generic.AQZE (AVG grisoft), W32.IRCBot (Symantec).

Dampak dari trojan ini antara lain : koneksi ke komputer lain terganggu atau malah tidak dapat terhubung ke komputer lain, Windows Firewall tidak dapat di Enabled dengan pesan error : Error 10050 A socket operation encountered a dead network.

Salah satu cara untuk menghentikan aksi trojan ini, saya menggunakan antivirus Clamav for Windows. Thank clamav ….