LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2017, 08:18 AM   #1
Rosika
Member
 
Registered: Apr 2017
Distribution: Lubuntu 64 bit
Posts: 280

Rep: Reputation: Disabled
clonezilla says: [partition] not cleanly unmounted


Hello altogether

could you help me with a strange problem?

First of all the technical info:

Quote:
System: Linux/Lubuntu 16.04.2 LTS (64bit)
3 partitions (all ext2):
/dev/sdc1: root-partition: 25 GB (14 BG free)
/dev/sdc2: home-partition: 38 GB (18 GB free)
/dev/sdc3: data-partition for virtual machines: 107 GB (48 GB free)
clonezilla: clonezilla-live-20160210-wily-amd64
Iīve been using clonezilla for quite a while now. I use it for backing up my entire disk (1 TB). Formerly I used to have 2 partitions and everything went well.
As of late I have a third partition for storing the data of virtual machines (amongst other stuff).
If I remember correctly that also went well one or two times. But recently Iīve got problems when trying to make a disk-backup.

/dev/sdc1 and /dev/sdc2: thatīs alright.

But when it comes to /dev/sdc3 clonezilla says something about the respective partition not being cleanly unmounted and gives an error-message.
After that I booted up my system and unmounted /dev/sdc3 manually hoping that it would be o.k. that way.
Then: new try, but again: the same error-message.

Well, Iīcanīt imagine why that is. As to my recollection Iīve done nothing wrong.
What baffles me quite a bit is: why on earth is the third partition (and just this one) not cleanly unmmounted?
And: is there a way/command for doing that manually?


Could you help?

Thanks a lot in advance.

Greetings.
Rosika
 
Old 07-10-2017, 09:51 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try running fsck on the file system. That should clean it up.
 
1 members found this post helpful.
Old 07-10-2017, 01:30 PM   #3
Rosika
Member
 
Registered: Apr 2017
Distribution: Lubuntu 64 bit
Posts: 280

Original Poster
Rep: Reputation: Disabled
Hi AwesomeMachine,

thanks for your help. It worked.
As a matter of fact clonezilla offers me the following option before saving the image:
Code:
-fsck-src-part-y
Thereīs even a hint for that on http://drbl.org/faq/fine-print.php?p...an_mounted.faq .
After using this option the backup succeeded.

I assume I could run the fsck-command on the respective partition while my system is running (of course un-mounting it first) - before proceeding to use clonezilla.

But thereīs one thing I donīt understand:
Why is that very partition not cleanly unmounted in the first place?
My root- and home-partition donīt seem to be affected by that phenomenon.

Greetings
Rosika
 
Old 07-10-2017, 05:31 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Your welcome.

I don't know why it's doing that.
 
Old 07-11-2017, 07:43 AM   #5
Rosika
Member
 
Registered: Apr 2017
Distribution: Lubuntu 64 bit
Posts: 280

Original Poster
Rep: Reputation: Disabled
Hi again,

never mind.
It seems Iīm not the only one who has to deal with "not cleanly unmounted FS" as Iīve seen this topic discussed on various sites on the internet. But never has there been any discussion as to why that is.

At least Iīve got a method to deal with it now.

Cheers.
Rosika
 
Old 07-11-2017, 10:38 AM   #6
Rosika
Member
 
Registered: Apr 2017
Distribution: Lubuntu 64 bit
Posts: 280

Original Poster
Rep: Reputation: Disabled
*****UPDATE*****

In the meantime I contacted support for clonezilla via sourceforge.net (discussions).
Arthur Tromp told me:
Quote:
Really depends on how you mount that filesystem. Do you do that manual or do you have an entry in the /etc/fstab file? In the last case, does that entry end with a 0? If so, that filesystem isn't being checked with fsck during boot time. And as far as I know the system will mark a filesystem unclean if it has been mounted a certain amount of times without being checked by fsck. Change that 0 in a 2 and it will be checked during boot time.
So this is probably the reason for the problem.
I have no entry for my third partition within fstab due to the fact that I created that one at a later point in time.
But: the third partition is automatically mounted when I boot up my system. Iīm not quite sure why that is.

Greetings.
Rosika
 
Old 07-11-2017, 10:17 PM   #7
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
I think problems like yours are probably common. Back in 2013 (I guess), ubuntu and ubuntu derivatives had a wrong count on blocks and on inodes. Clonezilla wouldn't image them. Back then the fix was at one point you're asked to choose:

Beginners mode: Accept the default options

Expert mode: choose your own options.

I always go with the expert mode ever since. When choosing options I go with default except the choices:

sfsck: skip checking/repairing file system

fsck: interactively check and repair source file system before saving. I go with this one every time and don't have any problems.
 
1 members found this post helpful.
Old 07-12-2017, 08:16 AM   #8
Rosika
Member
 
Registered: Apr 2017
Distribution: Lubuntu 64 bit
Posts: 280

Original Poster
Rep: Reputation: Disabled
Hi DVOM,

thanks for your suggestion. I think Iīll go that way too.

As far as the automatic mounting of /dev/sdc3 is concerned Arthur Tromp said
Quote:
I actually have no idea why your third filesystem is mounted automatically while it doesn't have an entry in the /etc/fstab. Is it an USB device? That kind of device probably uses another way to mount it, like the gnome-volume-manager.
Well, as a matter of fact my Lubuntu system actually is installed on an external USB harddrive (Western Digital WD Elements 25A2). So this seems to explain it.

Greetings.
Rosika
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File system not unmounted cleanly Cams Linux - Newbie 4 11-08-2009 07:42 PM
Root FIlesystem not cleanly unmounted bouke Fedora 2 08-03-2004 02:24 PM
not cleanly unmounted check forced christyc Linux - General 6 08-24-2002 01:19 PM
help!!! error cleanly unmounted. adam_boz Linux - General 3 07-28-2002 12:37 AM
...not cleanly unmounted error? RonRussell Linux - General 0 03-15-2002 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration