当我select RIGHT('00' + CONVERT(NVARCHAR(4),
datepart(month, dateadd(month, -3, getdate()
)
)
), 2
)
获得以下输出
fsdisk -l
我制作ls / dev / sd *
miguel@127:/var/log$ sudo fdisk -l
Disco /dev/sda: 500.1 GB, 500107862016 bytes
255 cabezas, 63 sectores/pista, 60801 cilindros, 976773168 sectores en total
Unidades = sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes
Identificador del disco: 0x0000ee6f
Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 2048 968912895 484455424 83 Linux
/dev/sda2 968914942 976771071 3928065 5 Extendida
/dev/sda5 968914944 976771071 3928064 82 Linux swap / Solaris
当我输入命令dmesg时,请在
下面输出以下内容miguel@127:/var/log$ ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda5 /dev/sdb
我试图安装以下
miguel@127:/var/log$ dmesg | tail
[11880.520414] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[11880.520422] usb 1-2: Product: USB to Serial-ATA bridge
[11880.520428] usb 1-2: Manufacturer: Sunplus Innovation Technology.
[11880.520433] usb 1-2: SerialNumber: 012345678901
[11880.523640] usb-storage 1-2:1.0: USB Mass Storage device detected
[11880.524044] scsi host19: usb-storage 1-2:1.0
[11881.525029] scsi 19:0:0:0: Direct-Access SPIF301 USB2SATA Bridge 0108 PQ: 0 ANSI: 2
[11881.526133] sd 19:0:0:0: Attached scsi generic sg1 type 0
[11881.535845] sd 19:0:0:0: [sdb] Attached SCSI removable disk
[13057.878067] systemd-hostnamed[11009]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
0
答案 0 :(得分:2)
被识别为/dev/sdb
的设备显然没有分区。使用fdisk
创建一个分区表,然后使用mkfs
格式化分区,你应该很高兴。
如果您确定设备已经过分区和格式化,那么其他问题就出现了问题。