-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to do image-backup to external CIFS mounted filesystem. sfdisk hangs #358
Comments
What is this |
The image-backup script is part of a suite of scripts from RonR-RPi-image-utils ############################################################## pi@RPi2:~ $ truncate -s 8636071936 /media/pi/Empty/test5.img Disk /media/pi/Empty/test5.img: 8.04 GiB, 8636071936 bytes, 16867328 sectors Script header accepted. New situation: The partition table has been altered. ############################################################## #My mount command looks like pi@RPi2:~ $ truncate -s 8636071936 /mnt/T3500-D/Bkup-RPi3/test5.img Again, this works fine under stretch |
Thank you for the detailed reproduction steps, I'll give this a try next week.
That's a harmless warning, see RPi-Distro/repo#346
Stretch is now very old and no longer supported. We only support Bullseye (security updates only) and Bookworm - see https://www.raspberrypi.com/software/operating-systems/ |
Works on Bullseye |
lurch - did you ever get a chance to try this? |
HW is Pi 3 Model B Rev 1.2B
Bookworm version is up-to-date -- Linux RPi2 6.6.62+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.62-1+rpt1 (2024-11-25) armv7l GNU/Linux
dpkg -l | grep -i cifs
ii cifs-utils 2:7.0-2 armhf Common Internet File System utilities
ii libsmbclient:armhf 2:4.17.8+dfsg-2 armhf shared library for communication with SMB/CIFS servers
ii samba 2:4.17.8+dfsg-2 armhf SMB/CIFS file, print, and login server for Unix
No issues with mounting a cifs file system under bookworm.
I can read, read/write/create files with cp commands
Here is bash -x output of image-backup
sudo bash -x image-backup -i /mnt/T3500-D/Bkup-RPi3/bookworm3.img,,1000
At this point sfdisk is hung, but I can Ctrl-C to get out of image-backup
If I rerun the image-backup script
sudo bash -x image-backup -i /mnt/T3500-D/Bkup-RPi3/bookworm3.img,,1000
things hang a littler earlier
I can't Ctrl-C out of it. kill -9 no help.
I opened up anther terminal windows, I could tab my way to the image directory, but 'ls -l' hung
I power cycled to clean things up.
Seems like a OS or CIFS bug, not image-backup.
image-backup works fine under stretch
I did notice that stretch uses version 2:6.7-1 of cifs-utils while bookworm uses 2:7.0-2
Any thoughts or suggestions?
Thx
The text was updated successfully, but these errors were encountered: