Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

1) Instalar exfat utils y fuse exfat

Nota: Los rpms para CentOS 6 estan en la misma carpeta que esta guia por si no
funciona YUM

En caso de que funcione YUM instalar los paquetes usando el comando

yum install exfat-utils fuse-exfat

2) Utilizar el comando dmesg y debe aparecer algo similar a este mensaje

scsi4 : SCSI emulation for USB Mass Storage devices


usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device scan complete
scsi 4:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
sd 4:0:0:0: Attached scsi generic sg3 type 0
sd 4:0:0:0: [sdd] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
sd 4:0:0:0: [sdd] Write Protect is off
sd 4:0:0:0: [sdd] Mode Sense: 23 00 00 00
sd 4:0:0:0: [sdd] Assuming drive cache: write through
sd 4:0:0:0: [sdd] Assuming drive cache: write through
sdd: unknown partition table
sd 4:0:0:0: [sdd] Assuming drive cache: write through
sd 4:0:0:0: [sdd] Attached SCSI removable disk
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sdd.
fuse init (API version 7.14)
SELinux: initialized (dev sdd, type fuseblk), uses genfs_contexts

En este ejemplo el usb es "sdd"

3) Montar el USB usando el siguiente comando (El comando de abajo usa sdb1 como
ejemplo no sdd)

mount -t exfat /dev/sdb1 /mnt

4) Al terminar remover el usb usando el siguiente comando

umount -t exfat /mnt

Si no funciona tratar de formatear el USB usando Fat32 y luego al tenerlo conectado


al servidor correr estos comandos

fdisk -l

En este ejemplo el USB es la partición sdb5

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't
support GPT. Use GNU Parted.

Disk /dev/sda: 250.1 GB, 250059350016 bytes


255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d3648
Device Boot Start End Blocks Id System
/dev/sda1 * 1 262 2097152 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 262 1306 8388608 82 Linux swap / Solaris
/dev/sda3 1306 30402 233711616 83 Linux

Disk /dev/sdb: 8053 MB, 8053063680 bytes


239 heads, 28 sectors/track, 2350 cylinders
Units = cylinders of 6692 * 512 = 3426304 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0b8de3a0

Device Boot Start End Blocks Id System


/dev/sdb1 1 2351 7862303+ f W95 Ext'd (LBA)
/dev/sdb5 1 2351 7862272 b W95 FAT32

Se debe montar el USB usando este comando

mount -t vfat /dev/sdb5 /mnt

Al terminar de copiar nuestros archivos utilizar el comando umount antes de retirar


el USB

umount -t vfat /dev/sdb5 /mnt

Comando para montar un DVD en CentOS 6

Correr este comando


ll /dev | grep sr0

Analizar el resultado

lrwxrwxrwx 1 root root 3 Mar 15 13:09 cdrom -> sr0


lrwxrwxrwx 1 root root 3 Mar 15 13:09 cdrw -> sr0
lrwxrwxrwx 1 root root 3 Mar 15 13:09 dvd -> sr0
lrwxrwxrwx 1 root root 3 Mar 15 13:09 dvdrw -> sr0
lrwxrwxrwx 1 root root 3 Mar 15 13:09 scd0 -> sr0
brw-rw---- 1 root cdrom 11, 0 Mar 15 13:09 sr0

Montar el DVD usando este comando

mount -r -t auto /dev/sr0 /mnt

You might also like