Ubuntu 서버가 외부 드라이브를 감지하지 못하는 것 같습니다

Ubuntu 서버가 외부 드라이브를 감지하지 못하는 것 같습니다

그래서 최근에 컴퓨터에 Ubuntu 서버를 설치했습니다. 모든 것이 순조롭게 진행되었으며 상자는 예상대로 작동하고 작동합니다. 내가 직면하고 있는 문제는 우분투 상자와 함께 사용하고 싶은 4TB 외장 하드 드라이브가 있다는 것입니다.

저는 Linux를 처음 접했고 이것을 알아내기 위해 최선을 다했지만 정말 혼란스럽습니다. 숙련된 Linux 사용자가 도움을 줄 수 있기를 바랍니다.

도움이 될 수 있는 다음 출력을 생성했습니다.

Webmin을 설치하고 드라이브를 살펴보았습니다. 이는 다음 출력을 보여줍니다.

SATA device A 1.86 TiB ATA TOSHIBA MQ03ABB22 IDE parameters Identify drive
SCSI device B 3.72 TiB Seagate Expansion Desk0 Identify drive

Windows 컴퓨터에 연결하면 드라이브가 제대로 작동합니다.

Windows에서 diskpart를 사용하여 드라이브를 완전히 정리합니다.

Linux 상자에 다시 연결하십시오. 이제 다음 출력이 표시됩니다.

    curtis@plex:~$ sudo fdisk -l
    Disk /dev/loop0: 89.1 MiB, 93417472 bytes, 182456 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

    Disk /dev/loop1: 93.8 MiB, 98336768 bytes, 192064 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

    Disk /dev/loop2: 64.1 MiB, 67239936 bytes, 131328 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

    Disk /dev/loop3: 55 MiB, 57614336 bytes, 112528 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

    Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: DEF5BDE2-8B0C-46EE-A896-68CF8C794AD1
    Device Start End Sectors Size Type
    /dev/sda1 2048 1050623 1048576 512M EFI System
    /dev/sda2 1050624 3907026943 3905976320 1.8T Linux filesystem
    curtis@plex:~$ lsusb
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 005: ID 0bc2:331a Seagate RSS LLC
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    curtis@plex:~$ lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    loop0 7:0 0 89.1M 1 loop /snap/core/8268
    loop1 7:1 0 93.8M 1 loop /snap/core/8935
    loop2 7:2 0 64.1M 1 loop /snap/powershell/104
    loop3 7:3 0 55M 1 loop /snap/core18/1705
    sda 8:0 0 1.8T 0 disk
    ├─sda1 8:1 0 512M 0 part /boot/efi
    └─sda2 8:2 0 1.8T 0 part /
    sdb 8:16 0 3.7T 0 disk
    curtis@plex:~$

any help would be greatly appreciated. 
The external drive is the 4TB disk. 
Please let me know if you require any further information. 

답변1

lsblk-output을 올바르게 읽으면 /dev/sdb에 파티션이 없습니다. 파티션 도구를 선택하고 파일 시스템을 사용하여 최소한 하나를 생성해야 합니다. 예를 들어 Windows 및 Linux에서 외장 드라이브를 사용하려는 경우 외장 드라이브에 대한 선호도를 모르기 때문에 완벽한 선택을 권장할 수 없습니다.

Windows 및 Linux에서 사용: Windows에서는 NTFS 또는 FAT32를 사용하여 포맷합니다. Linux만 사용: 예를 들어 gparted(GUI), fdisk 또는 parted(명령줄)를 사용하여 ext4로 포맷하고 파티션을 나눈 후 파티션에서 mkfs.ext4를 사용하여 파일 시스템을 초기화합니다.

udisksctl그런 다음 (명령줄)을 사용하여 필요할 때 루트가 아닌 사용자로 드라이브를 마운트 및 마운트 해제하는 것이 가장 좋습니다 . (귀하의 서버에 모니터/UI/X-Server가 없다고 가정하므로 gvfs/desktop 기반 설치/제거는 필요하지 않으며 클릭 한 번이면 됩니다.)

/etc/fstab을 통해 사용자 마운트를 설정할 수도 있지만, 의도가 무엇인지는 확실하지 않습니다.

관련 정보