You are not logged in.

#1 2011-12-18 21:43:52

developej
Member
Registered: 2011-10-02
Posts: 68

[FIXED]Mounting local filesystems [fail] on boot (check post #7)

[EDIT] This thread has _nothing to do_ with activating swap, please ignore posts before post #7 [/EDIT]

Hey all,

I have the 'activate swap [fail]' msg during boot.

$ swapon -s

Filename				Type		Size	Used	Priority
/dev/sda6                               partition	4000148	0	-1

so I guess it's working. I was wondering why I have 'fail' during boot? Here is my fstab

# 
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
/dev/sda3 /boot ext2 defaults 0 1
/dev/sda5 / ext4 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda7 /home ext4 defaults 0 1
/dev/sdc1 /mnt/usbhdd ntfs-3g defaults          0       0
debugfs /sys/kernel/debug debugfs 0 0

No duplicates, but 'fail' msg is there....

edit: oh, and here is the fdisk -l

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   167774207    83783680    7  HPFS/NTFS/exFAT
/dev/sda3   *   167774208   167966987       96390   83  Linux
/dev/sda4       167966988  1465149167   648591090    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5       167967051   327974387    80003668+  83  Linux
Partition 5 does not start on physical sector boundary.
/dev/sda6       327974451   335974757     4000153+  82  Linux swap / Solaris
Partition 6 does not start on physical sector boundary.
/dev/sda7       335974821  1465149167   564587173+  83  Linux
Partition 7 does not start on physical sector boundary.

Should I be worried about the 'does not start on physical sector boundary' message?

Last edited by developej (2011-12-20 12:22:27)

Offline

#2 2011-12-18 22:28:20

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

Don't worry about those  'does not start on physical sector boundary' messages. It's may be affected only for performance file system, but not reachability.
And I can`t see 'fail' msg, mentioned by you. Vice versa, I see in "swapon -s" output that swap partition in ready state.

Last edited by kurych (2011-12-18 22:28:57)

Offline

#3 2011-12-18 22:30:51

developej
Member
Registered: 2011-10-02
Posts: 68

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

fail message is on boot, something like

activating swap                       [fail]

everything else is [done]

Offline

#4 2011-12-18 22:41:06

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

Could you do the next one from console:

$ sudo swapoff /dev/sda6
$ sudo swapon /dev/sda6

Will attend any errors?

Last edited by kurych (2011-12-18 22:44:19)

Offline

#5 2011-12-18 22:48:56

developej
Member
Registered: 2011-10-02
Posts: 68

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

No errors, works fine...

Forgot to mention earlier...I started noticing all this after I had my first system freeze...so I thought it must be something with memory/swap...no freezes after that, but I get error on boot for activating swap...

Offline

#6 2011-12-18 23:38:10

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

Do you get "swap fail" message every time on boot? Or only once after freeze?
Try again "swapoff /dev/sda6"  and  then "mkswap /dev/sda6".
After that "swapon -a". I think errors will disappear during the next boot.
If not, I don't know, what could be do else. Good luck.

Offline

#7 2011-12-19 00:04:27

developej
Member
Registered: 2011-10-02
Posts: 68

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

I did that, same thing. Then I looked at it more carefully. On boot, on the left side there are all kind of things, and on the right side there is [done], [bkgd] or whatever....let me try to illustrate this

some_line_here                    [done]
/*many
 *lines
 *here
 */
                                             [done] // <----this 'done' was one row lower than it's thing on the left side, and that is what made all the fuss....
line                                       [done]
line                                       [done]
mounting local filesystems  [fail]
activate swap                       [done]
...

Since space between left and left and right side is much bigger on my monitor (making it hard to eyeball it), I just counted it 1-2-3-4=activate swap, and 1-2-3-4=fail. The thing actually failing is mounting of local filesystem, the /dev/sdc1 /mnt/usbhdd ntfs-3g defaults          0       0. After I commented that line, there was no fail message.

I'm sorry I took your time and made all this confusion...Maybe this topic should be renamed (or even deleted) so it doesn't confuse anyone else...

Now this is 'fixed', but that system freeze kinda worries me now smile

Last edited by developej (2011-12-19 00:52:33)

Offline

#8 2011-12-19 00:39:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

developej wrote:

...I'm sorry I took your time and made all this confusion...Maybe this topic should be renamed (or even deleted) so it doesn't confuse anyone else...

It was not a loss -- It would appear that there is misleading information displayed during boot under some circumstances.  Good to know.

Although moderators can change thread names or delete entire threads, we generally don't.  We don't care much for censorship or revisionism.  If you would like, you (The original poster) may change the thread title by editing your first post and changing the title.  If you change it, make it meaningful.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2011-12-28 02:32:56

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: [FIXED]Mounting local filesystems [fail] on boot (check post #7)

interesting. I was getting this same problem from an ntfs-3g entry in my fstab. Thanks for leading me to a fix, but now that I have the what, I'm damn curious to find out the WHY.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

Board footer

Powered by FluxBB