[問題] 求救硬碟問題
原本有一顆硬碟(1.2TB)mount起來成home7,
UUID=5f24400c-1df6-414e-ab34-2d211c569c69 /home7 ext4 defaults
但不知道為什麼這顆硬碟變成了 /dev/mapper
/dev/mapper/ubuntu102--vg-root: UUID="5f24400c-1df6-414e-ab34-2d211c569c69"
TYPE="ext4"
透過指令: ls /dev/[sh]d*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda5 /dev/sdb /dev/sdc /dev/sdd
/dev/sdd1 /dev/sdd2 /dev/sdd5 /dev/sde /dev/sdf /dev/sdf1 /dev/sdf2
/dev/sdf5
執行: sudo fdisk /dev/sdf
Command (m for help): p
Disk /dev/sdf: 1.1 TiB, 1200210141184 bytes, 2344160432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0005f611
Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 2048 499711 497664 243M 83 Linux
/dev/sdf2 501758 585871359 585369602 279.1G 5 Extended
/dev/sdf5 501760 585871359 585369600 279.1G 8e Linux LVM
這邊我有點搞不懂為什麼會衍伸出sdf1 sdf2 sdf5....
想詢問我要怎麼做才可變成把這顆硬碟變回單純的/dev/sdf
然後把他mount起來當空間使用呢?
感謝各位
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.168.195.73 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1623382873.A.935.html
→
06/11 11:51,
3年前
, 1F
06/11 11:51, 1F
→
06/11 11:53,
3年前
, 2F
06/11 11:53, 2F
→
06/11 11:54,
3年前
, 3F
06/11 11:54, 3F
→
06/11 11:57,
3年前
, 4F
06/11 11:57, 4F
大大感謝您的回覆,這顆硬碟裡面檔案我可以都不要,只要重新mount上去,有1.2TB的空間可以使用
推
06/11 11:59,
3年前
, 5F
06/11 11:59, 5F
→
06/11 11:59,
3年前
, 6F
06/11 11:59, 6F
→
06/11 12:00,
3年前
, 7F
06/11 12:00, 7F
→
06/11 12:01,
3年前
, 8F
06/11 12:01, 8F
→
06/11 12:02,
3年前
, 9F
06/11 12:02, 9F
推
06/11 12:08,
3年前
, 10F
06/11 12:08, 10F
感謝大大您的回覆,如果我想要把這顆硬碟資料全部刪除,變成是一顆新的,然後重新mount上去,
請問要怎麼操作~~真的非常感謝您QQ
※ 編輯: kcting (118.168.195.73 臺灣), 06/11/2021 13:14:43
推
06/11 13:18,
3年前
, 11F
06/11 13:18, 11F
→
06/11 13:18,
3年前
, 12F
06/11 13:18, 12F
→
06/11 13:19,
3年前
, 13F
06/11 13:19, 13F
→
06/11 13:21,
3年前
, 14F
06/11 13:21, 14F
大大您好,請問操作如下嗎?
sudo fdisk /dev/sdf
Command (m for help): p
Disk /dev/sdf: 1.1 TiB, 1200210141184 bytes, 2344160432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0005f611
Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 2048 499711 497664 243M 83 Linux
/dev/sdf2 501758 585871359 585369602 279.1G 5 Extended
/dev/sdf5 501760 585871359 585369600 279.1G 8e Linux LVM
製作新的table是輸入n嗎?
Command (m for help): n
Partition type
p primary (1 primary, 1 extended, 2 free)
l logical (numbered from 5)
Select (default p):
Using default response p.
Partition number (3,4, default 3):
First sector (499712-2344160431, default 499712):
這樣似乎sdf2跟sdf5都被占掉279G左右,我可以刪掉sdf2跟sdf5嗎?製作一個完整的1.2TB?
※ 編輯: kcting (118.168.195.73 臺灣), 06/11/2021 14:04:11
推
06/11 16:05,
3年前
, 15F
06/11 16:05, 15F
→
06/11 16:48,
3年前
, 16F
06/11 16:48, 16F
→
06/11 16:52,
3年前
, 17F
06/11 16:52, 17F
→
06/11 16:53,
3年前
, 18F
06/11 16:53, 18F
→
06/11 16:54,
3年前
, 19F
06/11 16:54, 19F
→
06/11 16:56,
3年前
, 20F
06/11 16:56, 20F
→
06/11 22:27,
3年前
, 21F
06/11 22:27, 21F
→
06/16 00:12,
3年前
, 22F
06/16 00:12, 22F
→
06/16 00:12,
3年前
, 23F
06/16 00:12, 23F
→
06/16 00:14,
3年前
, 24F
06/16 00:14, 24F
Linux 近期熱門文章
23
129
PTT數位生活區 即時熱門文章