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

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00
Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
$280.00
Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00
SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS
$299.99
Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99
Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$187.50
Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset
$149.99