I would just run e2fsck /dev/sda6 before that mount /dev/sda6 /mnt/new_root command.Originally Posted by Francesco Pietra
Then the device won't be mounted while running e2fsck.
On commanding
#mount /dev/sda6 /mnt/new_root
in order to mount an external usb hd in a pivot_root install of knoppix 5.0.1 I got the message:
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
sda6 could be mounted nonetheless and I see what I wanted to see: libmotif3 for unstable, which I wanted to install in place of the Sarge version. The latter does not allow openmotif to function. At this point, however, I prefer to wait:
CHANGED MIND BECAUSE, KNOWING MOTIF, I WAS NEARLY SURE TO HIT GOLD: in fact, with the library for unstable my molecular modeling package runs beautifully like in Etch
I know to be with pivot in "uncharted waters" and I also know that running e2fsck on mounted devices requires special expertise and is in any case a risk.
Suggestions? THAT PROBLEM REMAINS AND I CAN ADD THAT SDA6 IS CONNECTED ALSO WHEN ON ETCH, USING IT FOR BACKUP; IMPLICITLY, FILESYSTEM EXT3. BECAUSE IT SEEMS THAT EVERYTHING CAN BE DONE WITH PIVOT_ROOT, THAT STORY OF "MOUNT COUNT" IS DISTURBING.
cheers
francesco
I would just run e2fsck /dev/sda6 before that mount /dev/sda6 /mnt/new_root command.Originally Posted by Francesco Pietra
Then the device won't be mounted while running e2fsck.
I forgot to mention that the true Debian Etch mounts the external usb hd sda6 (automatically because it is in fstab) without any warning signal. Therefore, that "mount count" warning signal must be related to knoppix.
Cheers
francesco
Sorry for posting and then adding.
Is that the "reached max mount count" warning is related to not having umounted the external usb hd before exiting knoppix?
Exiting kde and <shutdown -h now> from terminal window (as I am used to do) works on a linux native partition (ext3fs) on the external usb hd which is mounted and is root.
I vaguely remember that umounting that root partition creates problems to knoppix.
Perhaps this is the major issue to solve about pivot_root install.
cheers
francesco
Usually it's just that after you have mounted the partition certain amount of times, you get this warning and are encouraged to run e2fsck.Originally Posted by Francesco Pietra
man tune2fs speaks about this a bit.
YOU: Usually it's [mac count reached] just that after you have mounted the partition certain amount of times, you get this warning and are encouraged to run e2fsck.
ME: Why no warning when that partition is mounted on true Debian etch? At any event, could you suggest how to run e2fsck? With pivot_root install that partition is root, therefore running e2fsck may be risky. I could well run e2fsck from true Debian etch, however: is that expected to be safe?
Thank you
francesco
Solved. Simply started true Debian etch, where
#umount /dev/sda6
#fsck /dev/sda6
cheers
francesco

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00
pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99
OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$258.00
Fortinet FortiGate FG-40F Network Security Firewall NO RACK EARS
$49.99
OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00
Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$229.99
Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance
$155.75
Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00
SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99
OPNsense Firewall Router VMware Edge 640 Atom C3758 32GB ECC RAM 256GB SSD 10Gbe
$284.99