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

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$259.00
Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99
Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00
Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$42.99
2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99
Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00
Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$40.00