久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動:電腦PC端+手機端+微網站+自適應網頁多模板選擇-建站388元起價!!!
當前位置:主頁 > 網站建設 > Linux掛載硬盤后端開發

Linux掛載硬盤后端開發

時間:2023-05-28 19:05:28 閱讀: 文章分類: 網站建設 作者: 網絡小編

導讀:后端開發后端開發 使用虛擬機時發現磁盤空間不夠了,需要掛載一個磁盤以供繼續使用,但是磁盤不是添加就可以使用的,還需要進行[v_notice]一、添加磁盤[/v_notice]添網站seo優化課程公司網站建設。

網站seo優化課程公司網站建設

使用虛擬機時發現磁盤空間不夠了,需要掛載一個磁盤以供繼續使用,但是磁盤不是添加就可以使用的,還需要進行

[v_notice]一、添加磁盤[/v_notice]

添加加新硬盤重啟服務器

添加完之后就可以重啟機器了,如果你機器是開啟的,進入系統并不能看見你剛添加的那塊磁盤,只有等系統重啟,重新加載之后才會顯示安裝的那塊磁盤

[v_notice]二、進入系統[/v_notice]

使用root用戶進入系統

[v_notice]三、 查看硬盤信息[/v_notice]

[root@localhost ~]# fdisk -l //磁盤命令 Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 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: 0x000c4cb5 Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 2611 20458496 8e Linux LVM Disk /dev/sdb: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 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: 0xd0f5c869 Device Boot Start End Blocks Id System /dev/sdb1 1 2610 20964793+ 83 Linux Disk /dev/sdc: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 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: 0x00000000

可以看到這臺機器加載了三個磁盤sda、sdb、sdc 其中sda是初始磁盤,sdb已經初始化且經過使用,sdc是剛剛加載的,未格式化的新磁盤

[v_notice]四、創建新硬盤分區[/v_notice]

[root@localhost ~]# fdisk /dev/sdc #進入磁盤 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x45a3cadb. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): m 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 #各分區類型所對應的ID 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)

關鍵詞標簽: 暫無

聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-28 ,文章Linux掛載硬盤后端開發主要講述暫無網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_11501.html

我的IDC 網站建設技術SEOUC.COM
專注網站建設,SEO優化,小程序設計制作搭建開發定制網站等,數千家網站定制開發案例,網站推廣技術服務。
  • 5000+合作客服
  • 8年從業經驗
  • 150+覆蓋行業
  • 最新熱門源碼技術文章

    主站蜘蛛池模板: 屯留县| 家居| 三原县| 依安县| 涞源县| 慈溪市| 潍坊市| 长葛市| 蓬莱市| 女性| 太湖县| 昌江| 鹤峰县| 土默特右旗| 富民县| 新密市| 容城县| 乌拉特中旗| 酒泉市| 濉溪县| 黔江区| 岢岚县| 邵阳县| 合山市| 兴义市| 永仁县| 侯马市| 杭锦后旗| 西昌市| 宜兰县| 琼结县| 香河县| 西和县| 札达县| 景德镇市| 锦州市| 六盘水市| 临桂县| 资溪县| 榆中县| 邵武市|