我们的一个存储有一个lvm卷组,其中多个逻辑卷上没有设置创建主机名和时间(LV创建主机,时间属性)。
这些都是很久以前创建的,但不幸的是(因为日期缺失)我不能确切地说。它可以是很多年,甚至8-10年。
目前,我们想把它拉到Proxmox 6下(通过光纤共享lvm,目前由Proxmox 3使用),但我们不能这样做,因为Proxmox 6需要创建时间。
我找不到命令来设置确切的时间。
有人能帮我设置lvm逻辑卷的主机名和创建时间吗?
致敬,Laszlo
发布于 2020-10-16 20:39:09
很抱歉,我无法在评论中设置格式。
因此,lvdisplay输出示例(1个卷,但总共32个,其中5个没有创建时间):
LV创建主机,time属性为空。可能是在proxmox 3下创建的--有没有可能这个属性当时还不存在?
--- Logical volume ---
LV Path /dev/stvg1/vm-103-disk-1
LV Name vm-103-disk-1
VG Name stvg1
LV UUID sbSgG8-4nuw-RwG5-skxe-J9e1-OkGo-ImEMfO
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 0
LV Size 1.50 TiB
Current LE 393216
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:20尝试读取lvm卷时出现proxmox错误消息
Result verification failed (400)
[9].ctime: type check ('integer') failed - got ''
[8].ctime: type check ('integer') failed - got ''
[4].ctime: type check ('integer') failed - got ''
[7].ctime: type check ('integer') failed - got ''
[10].ctime: type check ('integer') failed - got ''https://stackoverflow.com/questions/64245461
复制相似问题