Mount flashdisk tanpa partisi di LTSP
January 28th, 2008
USB stick/flashdisk tanpa partisi (terbanyak saat ini biasanya adalah pemutar MP3) untuk saat ini masih belum dapat di mount secara otomatis di LTSP, satu-satunya cara agar user dapat mengakses USB stick/flashdisk mereka di LTSP adalah dengan melakukan mount manual, caranya sbb:
Login ke komputer diskless terlebih dahulu dengan ssh, kemudian jalankan perintah dmesg, dari hasil output dmesg dibawah,
[ 456.464815] usb 3-5: new high speed USB device using ehci_hcd and address 6
[ 456.598087] usb 3-5: configuration #1 chosen from 1 choice
[ 456.692557] usbcore: registered new interface driver libusual
[ 456.736155] Initializing USB Mass Storage driver...
[ 456.736346] scsi2 : SCSI emulation for USB Mass Storage devices
[ 456.736469] usb-storage: device found at 6
[ 456.736474] usb-storage: waiting for device to settle before scanning
[ 456.736495] usbcore: registered new interface driver usb-storage
[ 456.736500] USB Mass Storage support registered.
[ 461.730701] usb-storage: device scan complete
[ 461.731356] scsi 2:0:0:0: Direct-Access USB 2.0 (HS) Flash Disk 1.00 PQ: 0 ANSI: 0 CCS
[ 461.768899] SCSI device sda: 1981361 512-byte hdwr sectors (1014 MB)
[ 461.769764] sda: Write Protect is off
[ 461.769773] sda: Mode Sense: 00 c0 00 00
[ 461.769776] sda: assuming drive cache: write through
[ 461.772006] SCSI device sda: 1981361 512-byte hdwr sectors (1014 MB)
[ 461.772885] sda: Write Protect is off
[ 461.772893] sda: Mode Sense: 00 c0 00 00
[ 461.772896] sda: assuming drive cache: write through
[ 461.773490] sda: unknown partition table
[ 461.841972] sd 2:0:0:0: Attached scsi removable disk sda
[ 461.870112] sd 2:0:0:0: Attached scsi generic sg0 type 0
USB stick/flashdisk terdeteksi sebagai sda (tanpa partisi), mount manual ke /mnt dengan:
mount /dev/sda /mnt
keluar dari komputer diskless, dari server jalankan perintah (sebagai login name yang berada di komputer diskless (dalam hal ini user w7).
[root@localhost]# su - w7
[w7@localhost]$ cd ~/Desktop
[w7@localhost]$ mkdir flashdisk
[w7@localhost]$ ltspfs w7:/mnt ~/Desktop/flashdisk
untuk unmount juga masih harus manual.