root@debian:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 2.7T 0 disk
└─sda1 8:1 0 2.7T 0 part
.
.
root@debian:~# fdisk -l /dev/sda
Disk /dev/sda: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000VX010-2E31
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: BD227131-9A7E-483A-A10A-168B10B1F0FD
Device Start End Sectors Size Type
/dev/sda1 2048 5859375103 5859373056 2.7T Linux filesystem
.
.
root@debian:~# dmraid -s
no raid disks
.
.
root@debian:~# mkfs.ext4 /dev/sda1
mke2fs 1.47.0 (5-Feb-2023)
/dev/sda1 is apparently in use by the system; will not make a filesystem here!
.
.
root@debian:~# umount /dev/sda1
umount: /dev/sda1: not mounted.
束手无策了
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 2.7T 0 disk
└─sda1 8:1 0 2.7T 0 part
.
.
root@debian:~# fdisk -l /dev/sda
Disk /dev/sda: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000VX010-2E31
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: BD227131-9A7E-483A-A10A-168B10B1F0FD
Device Start End Sectors Size Type
/dev/sda1 2048 5859375103 5859373056 2.7T Linux filesystem
.
.
root@debian:~# dmraid -s
no raid disks
.
.
root@debian:~# mkfs.ext4 /dev/sda1
mke2fs 1.47.0 (5-Feb-2023)
/dev/sda1 is apparently in use by the system; will not make a filesystem here!
.
.
root@debian:~# umount /dev/sda1
umount: /dev/sda1: not mounted.
束手无策了