yandong
2015-May-13 02:33 UTC
[Libguestfs] the Superblock last modify time is in the future after upload a file into the VM
I use the libguestfs to upload a file into the VM. But I found the date of the file in the VM is in the future(modify time is May 18, now is May 13), and this lead to the VM will auto fix it using fsck before boot. anyone can help or give me some tips? thank you very much. Best regards yandong
Richard W.M. Jones
2015-May-13 21:37 UTC
Re: [Libguestfs] the Superblock last modify time is in the future after upload a file into the VM
On Wed, May 13, 2015 at 10:33:52AM +0800, yandong wrote:> I use the libguestfs to upload a file into the VM. > > But I found the date of the file in the VM is in the future(modify > time is May 18, now is May 13), and this lead to the VM will auto > fix it using fsck before boot.I think this is a bug in libguestfs, probably. I don't know why it happens however. Is your system clock correct? Could you send the output of 'libguestfs-test-tool'? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Possibly Parallel Threads
- set the eflags.tf of VM
- Problem after upgrade to 1.4.7-1 (Bad magic number in superblock while opening context for device)
- Recover original superblock on corrupted filesystem?
- Odd error: Physical size does not match superblock size
- HELP - RAC Cant fsck bad superblock