[Bug 475329] Re: High CPU and DISK load on mounting NTFS with hibernated WinXP

Hedgehog_57 hedgehog at on-line.ru
Thu Nov 5 12:48:55 UTC 2009


** Description changed:

  Binary package hint: ntfs-3g
  
  System: IBM Thinkpad T61P
  OS: Dual boot WinXP SP3/Ubuntu 9.10
  Reproductable: yes
  
  Boot to winXP.
  Hibernate it.
  Boot Ubuntu.
  
  menv at hedgehog-book:~$ iotop -o
  ------------------
  Total DISK READ: 39.27 M/s | Total DISK WRITE: 0.00 B/s
-   TID PRIO USER DISK READ DISK WRITE SWAPIN IO>
-    COMMAND
+   TID PRIO USER DISK READ DISK WRITE SWAPIN IO>
+    COMMAND
  ------------------
  As you can see no process use the disk, but something reads
  40 M/s
  menv at hedgehog-book:~$ top
  ------------------
- top - 17:13:56 up 22 min, 3 users, load average: 0.96,
- 0.95, 0.86
- Tasks: 174 total, 11 running, 163 sleeping, 0 stopped,
-   0 zombie
- Cpu(s): 37.1%us, 24.1%sy, 0.0%ni, 13.5%id, 21.6%wa,
-  2.0%hi, 1.7%si, 0.0%st
- Mem: 2040444k total, 956252k used, 1084192k free,
-    18444k buffers
- Swap: 4558640k total, 0k used, 4558640k free,
-   257432k cached
+ top - 17:13:56 up 22 min, 3 users, load average: 0.96,0.95, 0.86
+ Tasks: 174 total, 11 running, 163 sleeping, 0 stopped,  0 zombie
+ Cpu(s): 37.1%us, 24.1%sy, 0.0%ni, 13.5%id, 21.6%wa, 2.0%hi, 1.7%si, 0.0%st
+ Mem: 2040444k total, 956252k used, 1084192k free,   18444k buffers
+ Swap: 4558640k total, 0k used, 4558640k free,  257432k cached
  
-   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
-  COMMAND
- 21040 root 20 0 54580 14m 2364 R 19 0.7
-   2:46.93 devkit-disks-da
-  1419 root 20 0 248m 35m 18m R 16 1.8
-   0:48.16 Xorg
+   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
+ 21040 root 20 0 54580 14m 2364 R 19 0.7  2:46.93 devkit-disks-da
+  1419 root 20 0 248m 35m 18m R 16 1.8  0:48.16 Xorg
  -----------------
  This is top output. Nothing interesting.
  
  And now the problem:
  
- root 26027 474 0 17:15 ? 00:00:00 mount -a -t
- ntfs -o defaults /dev/sda1 /media/winnt
- root 26028 26027 0 17:15 ? 00:00:00
- /sbin/mount.ntfs /dev/sda1 /media/winnt -o rw
- menv 26030 28807 0 17:15 pts/0 00:00:00 grep winnt
  menv at hedgehog-book:~$ ps -Af|grep winnt
+ root 26027 474 0 17:15 ? 00:00:00 mount -a -t ntfs -o defaults /dev/sda1 /media/winnt
+ root 26028 26027 0 17:15 ? 00:00:00 /sbin/mount.ntfs /dev/sda1 /media/winnt -o rw 
+ menv 26030 28807 0 17:15 pts/0 00:00:00 grep winnt 
+ 
+ menv at hedgehog-book:~$ ps -Af|grep winnt 
  menv 27223 28807 0 17:15 pts/0 00:00:00 grep winnt
+ 
  menv at hedgehog-book:~$ ps -Af|grep winnt
  menv 27591 28807 0 17:15 pts/0 00:00:00 grep winnt
+ 
  menv at hedgehog-book:~$ ps -Af|grep winnt
  menv 27821 28807 0 17:15 pts/0 00:00:00 grep winnt
+ 
  menv at hedgehog-book:~$ ps -Af|grep winnt
- root 28210 474 0 17:15 ? 00:00:00 mount -a -t
- ntfs -o defaults /dev/sda1 /media/winnt
- root 28211 28210 0 17:15 ? 00:00:00
- /sbin/mount.ntfs /dev/sda1 /media/winnt -o rw
+ root 28210 474 0 17:15 ? 00:00:00 mount -a -t ntfs -o defaults /dev/sda1 /media/winnt
+ root 28211 28210 0 17:15 ? 00:00:00 /sbin/mount.ntfs /dev/sda1 /media/winnt -o rw
  menv 28213 28807 0 17:15 pts/0 00:00:00 grep winnt
  
- This is infinite process. One die and new one is created.
+ This is infinite process. One mount die and new one is created.
  
- This how to stop it. After this high CPU and DISK
- utilization are off.
+ This how to stop it. After this high CPU and DISK utilization are off.
  --------------
  menv at hedgehog-book:~$ sudo mount /media/winnt
  Windows is hibernated, refused to mount.
  Failed to mount '/dev/sda1': Operation not permitted
- The NTFS partition is hibernated. Please resume and
- shutdown Windows
- properly, or mount the volume read-only with the 'ro' mount
- option, or
- mount the volume read-write with the 'remove_hiberfile'
- mount option.
+ The NTFS partition is hibernated. Please resume and shutdown Windows
+ properly, or mount the volume read-only with the 'ro' mount option, or
+ mount the volume read-write with the 'remove_hiberfile' mount option.
  For example type on the command line:
  
-             mount -t ntfs-3g -o remove_hiberfile /dev/sda1
- /media/winnt
+             mount -t ntfs-3g -o remove_hiberfile /dev/sda1 /media/winnt
  
  menv at hedgehog-book:~$ sudo mount -o ro /media/winnt
  menv at hedgehog-book:~$ sudo umount /media/winnt
  -------------
- 
- The second partition (NTFS, but not with hibernated winxp)
- is mounted normally during boot process.
+ The second NTFS partition (SDA5. not with hiberfil.sys file) is mounted normally during boot process.
  
  -----
  menv at hedgehog-book:~$ mount
  /dev/sda7 on / type ext3 (rw,relatime,errors=remount-ro)
  proc on /proc type proc (rw)
  none on /sys type sysfs (rw,noexec,nosuid,nodev)
  none on /sys/fs/fuse/connections type fusectl (rw)
  none on /sys/kernel/debug type debugfs (rw)
  none on /sys/kernel/security type securityfs (rw)
  udev on /dev type tmpfs (rw,mode=0755)
  none on /dev/pts type devpts
  (rw,noexec,nosuid,gid=5,mode=0620)
  none on /dev/shm type tmpfs (rw,nosuid,nodev)
  none on /var/run type tmpfs (rw,nosuid,mode=0755)
  none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
  none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
  /dev/sda6 on /boot type ext3 (rw,relatime)
- /dev/sda5 on /media/data type fuseblk
- (rw,nosuid,nodev,allow_other,blksize=4096)
+ /dev/sda5 on /media/data type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  /dev/sda8 on /home type ext3 (rw,relatime)
- binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
- (rw,noexec,nosuid,nodev)
- gvfs-fuse-daemon on /home/menv/.gvfs type
- fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=menv)
+ binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
+ gvfs-fuse-daemon on /home/menv/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=menv)
  -----------

-- 
High CPU and DISK load on mounting NTFS with hibernated WinXP
https://bugs.launchpad.net/bugs/475329
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list