pvcreate提示:Device /dev/sdc3 not found (or ignored by filtering)

简介:

使用partprobe命令重新读取分区表

[root@jetsen /]# pvcreate /dev/sdc3
  Device /dev/sdc3 not found (or ignored by filtering).

 

[root@jetsen /]# dd if=/dev/urandom of=/dev/sdc3 bs=512 count=64
64+0 records in
64+0 records out
32768 bytes (33 kB) copied, 0.0228513 seconds, 1.4 MB/s

[root@jetsen /]# pvcreate /dev/sdc3


执行成功。



本文转自 Mr_sheng 51CTO博客,原文链接:http://blog.51cto.com/sf1314/1977335

相关文章
|
3月前
Clion+STM 32Warn : Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED
Clion+STM 32Warn : Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED
63 0
启动报错“No bootable device”
三个步骤排查启动报错“No bootable device”
启动报错“No bootable device”
|
6月前
|
Ubuntu iOS开发 MacOS
Could not enumerate video devices (or none found).解决办法
Could not enumerate video devices (or none found).解决办法
103 0
|
机器学习/深度学习 PyTorch 算法框架/工具
解决RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cp
对应两种保存模型的方式,pytorch也有两种加载模型的方式。对应第一种保存方式,加载模型时通过torch.load(‘.pth’)直接初始化新的神经网络对象;对应第二种保存方式,需要首先导入对应的网络,再通过net.load_state_dict(torch.load(‘.pth’))完成模型参数的加载。
1690 0
|
安全
解决:efi usb device has been blocked by the current security policy
解决:efi usb device has been blocked by the current security policy 问题描述:U盘装系统或者其他操作时,是因为BIOS安全策略,出现上述错误无法进入后续步骤。 解决方法:按F2(Fn+F2)进入BIOS,在secure Boot 中security选择disable。解决! 延伸(可不读): 黑苹
11069 0
|
iOS开发
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
210 0
下一篇
无影云桌面