umount problems after changing to Slackware64
We recently switched from slackware-13.0 to slackware64-13.1. While testing out our daily backup scripts found some strange behavior that did not occur on the old OS. We use rsync to mostly mirror sda2 (80 GB SSD) to sdb2 (150 GB spindle drive).
Previous backup sequence: mount sdb2 rsync sda2 to sdb2 umount sdb2 Now we have to add a sync and sleep step before umount, otherwise the strange behavior occurs. This being that df now reports the wrong disk size for sdb2 and the drive constantly thrashes, never stopping until we reset the machine. Upon reboot, e2fsck doesn't report any errors and the drive size is correct. We have tried a different backup drive with the same results. My understanding was that sync'ing before umount was not necessary since umount automatically syncs or will report the drive as busy. Anyone else experience this or know why the behavior has changed? |
You should post your scripts, the output of "df -hT" for both mounted
filesystems, "dmesg" output, and the output of "/sbin/fdisk -l" at a bare minimum. That way someone can look at what you have vs. your synopsis. |
Output of 'df -hT' for sda2 and sdb2
Code:
Filesystem Type Size Used Avail Use% Mounted on This is from /var/log/messages, but same was in dmesg: Code:
Dec 26 09:05:30 val kernel: INFO: task umount:31257 blocked for more than 120 seconds. Code:
Disk /dev/sda: 80.0 GB, 80025280000 bytes Code:
#!/bin/bash |
All times are GMT -5. The time now is 10:53 AM. |