vmware
Edit Virtual Machine Settings > Add.. > Create a new virtual disk
부팅 후 마운트
[root@kkam:/root]df -hFilesystem Size Used Avail Use% Mounted on/dev/sda1 7.9G 6.0G 1.6G 80% /none 252M 0 252M 0% /dev/shm/dev/sdb1 3.0G 2.2G 701M 76% /home2[root@kkam:/root]fdisk -l
Disk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System/dev/sda1 * 1 1044 8385898+ 83 Linux/dev/sda2 1045 1305 2096482+ 82 Linux swap
Disk /dev/sdb: 3221 MB, 3221225472 bytes255 heads, 63 sectors/track, 391 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System/dev/sdb1 1 391 3140676 83 Linux
Disk /dev/sdc: 3221 MB, 3221225472 bytes255 heads, 63 sectors/track, 391 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table[root@kkam:/root]mkfs -t ext3 /dev/sdcmke2fs 1.35 (28-Feb-2004)/dev/sdc is entire device, not just one partition!Proceed anyway? (y,n) ymax_blocks 805306368, rsv_groups = 24576, rsv_gdb = 191Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)393216 inodes, 786432 blocks39321 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=80530636824 block groups32768 blocks per group, 32768 fragments per group16384 inodes per groupSuperblock backups stored on blocks:32768, 98304, 163840, 229376, 294912
Writing inode tables: doneinode.i_blocks = 9176, i_size = 4243456Creating journal (8192 blocks): doneWriting superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.[root@kkam:/root]mount -t ext3 /dev/sdc /home2[root@kkam:/root]vi /etc/fstab# This file is edited by fstab-sync - see 'man fstab-sync' for detailsLABEL=/ / ext3 defaults 1 1none /dev/pts devpts gid=5,mode=620 0 0none /dev/shm tmpfs defaults 0 0none /proc proc defaults 0 0none /sys sysfs defaults 0 0LABEL=SWAP-sda2 swap swap defaults 0 0/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0/dev/sdb1 /home2 ext3 defaults 1 1/dev/sdc /home3 ext3 defaults 1 1
'OS' 카테고리의 다른 글
truss - process trace (0) | 2009.02.26 |
---|---|
계정 관리 명령어 (adduser, userdel, usermod) & 파일(passwd, shadow, group) (0) | 2009.02.18 |
route - DOS (0) | 2009.02.06 |
[AIX]하드웨어명령어 (0) | 2008.09.15 |
nm - lib 안의 함수목록 (0) | 2008.08.08 |