리눅스

본문 바로가기
사이트 내 전체검색


리눅스
리눅스

10. Disk 포멧하기

페이지 정보

작성자 관리자 댓글 0건 조회 3,592회 작성일 21-07-12 22:27

본문

10. Disk 포멧하기

[root@localhost ftp]# blkid

/dev/sdd1: UUID="d55e87e4-72a2-491f-86fe-45899f06db0b" TYPE="ext4"

/dev/sdb1: UUID="a5ae90e3-6616-4d13-8db9-7f1ecd24284a" TYPE="ext4"

/dev/sdc1: UUID="ca8b074a-e14c-4744-8a67-8e2c0ba00cfc" TYPE="ext4"

/dev/sda1: UUID="2494c5d5-c1c3-41ef-ae88-b94f02c38a6e" TYPE="swap"

/dev/sda2: UUID="f4000ae2-11dc-43b9-b7ca-7df12ccd458c" TYPE="xfs"


[root@localhost ftp]# mkfs.ext4 /dev/sdd1

mke2fs 1.42.9 (28-Dec-2013)

/dev/sdd1 is mounted; will not make a filesystem here!

[root@localhost ftp]# umount /dev/sdd1

umount: /home4/ftp: target is busy.

        (In some cases useful info about processes that use

         the device is found by lsof(8) or fuser(1))

[root@localhost ftp]# cd

[root@localhost ~]# umount /dev/sdd1

[root@localhost ~]# mkfs.ext4 /dev/sdd1

mke2fs 1.42.9 (28-Dec-2013)

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

122101760 inodes, 488378368 blocks

24418918 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=2636120064

14905 block groups

32768 blocks per group, 32768 fragments per group

8192 inodes per group

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,

        102400000, 214990848


Allocating group tables: done

Writing inode tables: done

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information:

done


[root@localhost ~]#

[root@localhost ~]# mount /dev/sdd1


댓글목록

등록된 댓글이 없습니다.


개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.