我刚刚按照此处的说明格式化了我的 1TB 驱动器(添加 https):help.ubuntu.com/community/InstallingANewHardDrive
然后将其安装到我的系统中。当我验证驱动器时,我发现 fdisk 只创建了一个 429.5GB 的分区。我似乎找不到有关将整个驱动器作为分区的任何信息。有人能给我指出正确的方向吗?
plex@plex:/media/plex$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/plex--vg-root 222G 173G 38G 83% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.8G 12K 3.8G 1% /dev
tmpfs 772M 1.4M 771M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.8G 4.0K 3.8G 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 69M 155M 31% /boot
/dev/sdb1 423G 71M 402G 1% /media/plex/Media1
plex@plex:/dev$ sudo parted -l
[sudo] password for plex:
Model: ATA ST3250310AS (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 250GB 250GB extended
5 257MB 250GB 250GB logical lvm
Model: ATA ST31000524AS (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ext3
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/plex--vg-root: 241GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 241GB 241GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/plex--vg-swap_1: 8301MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 8301MB 8301MB linux-swap(v1)
答案1
好吧,我想既然没人知道发生了什么,我就再重复一遍整个过程。我不确定第一次发生了什么,但这次一切都正常了,我已将整个驱动器格式化,并且 sdb1 现在是驱动器的全部可用空间。