• <em id="6vhwh"><rt id="6vhwh"></rt></em>

    <style id="6vhwh"></style>

    <style id="6vhwh"></style>
    1. <style id="6vhwh"></style>
        <sub id="6vhwh"><p id="6vhwh"></p></sub>
        <p id="6vhwh"></p>
          1. 国产亚洲欧洲av综合一区二区三区 ,色爱综合另类图片av,亚洲av免费成人在线,久久热在线视频精品视频,成在人线av无码免费,国产精品一区二区久久毛片,亚洲精品成人片在线观看精品字幕 ,久久亚洲精品成人av秋霞

            centos 5.3下fdisk分區(qū)、格式化、掛載新硬盤

            更新時(shí)間:2023-06-07 10:40:47 閱讀: 評(píng)論:0

            公司內(nèi)網(wǎng)的服務(wù)器硬盤空間不足,將新買來的150G硬盤掛載并設(shè)置成samba的共享目錄,關(guān)于samba請(qǐng)參考此文章hi.baidu/linglongwunv/blog/item/56ec2beb6f0fcfdad439c942.html,下面介紹怎樣將一塊新硬盤分區(qū)、格式化、掛載到系統(tǒng),如適合你請(qǐng)繼續(xù)閱讀。服務(wù)器上已經(jīng)有兩塊硬盤,所以硬盤為sdc,后面就不做說明了,至于不知道sdc怎么回事的人,先去問問百度大哥再回來接著看。
            1# fdisk -l      查看當(dāng)前磁盤信息,就會(huì)發(fā)現(xiàn)最下面顯示新加入的硬盤不是有效分區(qū),如下:
            Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
            255 heads, 63 ctors/track, 182401 cylinders
            Units = cylinders of 16065 * 512 = 8225280 bytes
            Disk /dev/sdc doesn't contain a valid partition table
            2# fdisk /dev/sdc      對(duì)新硬盤分區(qū),并根據(jù)提示進(jìn)一步操作
            Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
            Building a new DOS disklabel. Changes will remain in memory only,
            until you decide to write them. After that, of cour, the previous
            content won't be recoverable.

            The number of cylinders for this disk is t to 182401.
            There is nothing wrong with that, but this is larger than 1024,
            and could in certain tups cau problems with:
            1) software that runs at boot time (e.g., old versions of LILO)
            2) booting and partitioning software from other OSs
              (e.g., DOS FDISK, OS/2 FDISK)
            Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
            Command (m for help): h      輸入h可查看幫助命令
            h: unknown command
            Command action
              a  toggle a bootable flag
              b  edit bsd disklabel
              c  toggle the dos compatibility flag
              d  delete a partition
              l  list known partition types
              m  print this menu
              n  add a new partition
              o  create a new empty DOS partition table
              p  print the partition table
              q  quit without saving changes
              s  create a new empty Sun disklabel
              t  change a partition's system id
              u  change display/entry units
              v  verify the partition table
              w  write table to disk and exit
              x  extra functionality (experts only)
            Command (m for help):     輸入n進(jìn)行分區(qū)
            Command action
              e  extended
              p  primary partition (1-4)
            p      輸入p為主分區(qū),e為邏輯分區(qū)
            Partition number (1-4): 1      由于是新盤我們輸入1來分第一個(gè)主分區(qū),共可以分4個(gè)主分區(qū)
            First cylinder (1-182401, default 1):      選擇該分區(qū)的起始磁盤數(shù),如無特殊需求強(qiáng)烈建議選擇默認(rèn),也就是1來分區(qū)(直接按回車)
            Using default value 1
            Last cylinder or +size or +sizeM or +sizeK (1-182401, default 182401):      定義該分區(qū)的大小,如果按默認(rèn)(按回車)即是使用全部可用存儲(chǔ)額,如分一個(gè)1G的空間,輸入+1024m
            Using default value 182401
            Command (m for help):     寫入分區(qū)
            The partition table has been altered!
            Calling ioctl() to re-read partition table.
            Syncing disks.
            3# fdisk -l      可以找到我們剛才分的一個(gè)分區(qū),內(nèi)容如下:
            Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
            255 heads, 63 ctors/track, 182401 cylinders
            Units = cylinders of 16065 * 512 = 8225280 bytes
              Device Boot      Start        End      Blocks  Id System
            /dev/sdc1              1      182401 1465136001  83 Linux
            4# mkfs -t ext3 -c /dev/sdc1      對(duì)分區(qū)使用ext3格式化,如多個(gè)分區(qū)sdc2等以此類推,因?yàn)樾掠脖P加了-c參數(shù)要先檢測(cè)磁盤壞道,此過程萬分漫長(zhǎng)(150G),等待。。。
            mke2fs 1.39 (29-May-2006)
            Filesystem label=
            OS type: Linux
            Block size=4096 (log=2)
            Fragment size=4096 (log=2)
            183156736 inodes, 366284000 blocks
            18314200 blocks (5.00%) rerved for the super ur
            First data block=0
            Maximum filesystem blocks=0
            11179 block groups
            32768 blocks per group, 32768 fragments per group
            16384 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
            Checking for bad blocks (read-only test): done
            Writing inode tables: done
            Creating journal (32768 blocks): done
            Writing superblocks and filesystem accounting information: done
            This filesystem will be automatically checked every 22 mounts or
            180 days, whichever comes first. U tune2fs -c or -i to override.

            5# mkdir /var/samba      新建掛載目錄
            6# mount /dev/sdc1 /var/samba      掛載新硬盤

            7# df -hl      查看分區(qū)大小是否和我們預(yù)定的一樣:
            文件系統(tǒng)              容量  已用 可用 已用% 掛載點(diǎn)
            /dev/sda7            9.5G 3.2G 5.9G 35% /
            /dev/sda6            9.5G 151M 8.9G  2% /tmp
            /dev/sda5              19G 3.6G  15G 20% /usr
            /dev/sda3              19G 719M  18G  4% /home
            /dev/sda2            230G  23G 196G 11% /var
            /
            dev/sda1              99M  25M  69M 27% /boot
            /dev/sdb1            233G 156G  78G 67% /var/samba2
            tmpfs                1008M    0 1008M  0% /dev/shm
            /dev/sdc1            1.4T 198M 1.3T  1% /var/samba      此行為新硬盤

            8# vi /etc/fstab      設(shè)置系統(tǒng)自動(dòng)掛載硬盤,加入一行:
            /dev/sdc1              /var/samba2            ext3    defaults        0 0
            9、重啟服務(wù)器,用步驟7檢查一下,一切正常掛載完成,祝好運(yùn)~

            本文發(fā)布于:2023-06-07 10:40:46,感謝您對(duì)本站的認(rèn)可!

            本文鏈接:http://www.newhan.cn/zhishi/a/1686105647192848.html

            版權(quán)聲明:本站內(nèi)容均來自互聯(lián)網(wǎng),僅供演示用,請(qǐng)勿用于商業(yè)和其他非法用途。如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除。

            本文word下載地址:centos 5.3下fdisk分區(qū)、格式化、掛載新硬盤.doc

            本文 PDF 下載地址:centos 5.3下fdisk分區(qū)、格式化、掛載新硬盤.pdf

            留言與評(píng)論(共有 0 條評(píng)論)
               
            驗(yàn)證碼:
            Copyright ?2019-2022 Comsenz Inc.Powered by ? 實(shí)用文體寫作網(wǎng)旗下知識(shí)大全大全欄目是一個(gè)全百科類寶庫(kù)! 優(yōu)秀范文|法律文書|專利查詢|
            主站蜘蛛池模板: 蜜桃av无码免费看永久| 在线A毛片免费视频观看| 日本不卡在线一区二区| 精品无码久久久久久久久久| 国产女主播一区| 精品偷拍一区二区三区| 国产精品国产三级国快看| 亚洲自拍偷拍一区二区三区| 亚日韩精品一区二区三区| 国产在线精品欧美日韩电影 | 乱60一70归性欧老妇| 日韩区中文字幕在线观看| 欧洲成人在线观看| 亚洲精品一区二区三区中文字幕| 亚洲欧洲日产国码无码久久99| 亚洲最大的熟女水蜜桃AV网站| 国产av普通话对白国语| 国产一区二区三区日韩精品| 日韩人妻无码精品久久| 成在线人视频免费视频| 国产va免费精品观看| 亚洲码和欧洲码一二三四| 极品人妻少妇一区二区| 99精品福利视频| 私人高清影院| 青青草综合在线观看视频| 日本黄色不卡视频| 久久久www成人免费毛片| 久久99精品国产麻豆婷婷| 国产无套中出学生姝| 国产欧美精品一区aⅴ影院| 欧美 日韩 国产 成人 在线观看| 国产av丝袜旗袍无码网站| 日韩V欧美V中文在线| 99精品国产在热久久婷婷| 香蕉久久国产AV一区二区| 一本精品99久久精品77| 国产在视频线精品视频| 琪琪午夜成人理论福利片| 99热这里只有精品5| 国产成人无码一区二区在线播放 |