Академический Документы
Профессиональный Документы
Культура Документы
fdisk -l
SCSI+SATA: ls -l /dev/sd*
ATA: ls -l /dev/hd*
http://www.capacity.com.do
6. Use fdisk (conjuntamente con grep y /dev/null) para mostrar la
capacidad total de los discos fijos.
8. Observe en /proc/scsi/scsi.
Attached devices:
root@rhel53 ~# lsscsi
http://www.capacity.com.do
Solucin: particiones
df -h
p
Partition number (1-4): 1
First cylinder (1-261, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-261,
default 261): +200m
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
http://www.capacity.com.do
Syncing disks.
fdisk /dev/sdb
inside fdisk : n p 1 +400m enter --- n e 2 enter enter --- n l +300m (dos
veces)
fdisk -l ; df -h
http://www.capacity.com.do
Solucin: sistema de archivos
man fs
cat /proc/filesystems
cat /etc/filesystems (no en todas las distribuciones)
3. mke2fs /dev/sdc1
(reemplace sdc1 con la particion correcta) .
tune2fs -m 0 /dev/sdb5
http://www.capacity.com.do
Solucin: montando el sistema de archivos.
mkdir /home/project22
mount /dev/sdc1 /home/project22
http://www.capacity.com.do
3. Verifique su trabajo usando fdisk, df y mount. Dele un
vistazo a /etc/mtab y /proc/ mounts.
fdisk -l
df -h
mount
# fsck /dev/sdb1
http://www.capacity.com.do
http://www.capacity.com.do