Hi,
I am new to openSUSE. My system seems to start slowly, about 90 seconds >:(
I use systemd-analyze blame and I see that storage-after-cryptsetup.service and lvm.service take a long time to start. I am thinking about shut those off because as I read, I dont use use encrypted partition.
If my system does not boot because of those, can I make them boot like normal?
I want to make sure before trying
Please, allways tell what version of openSUSE you are using when asking questions or explaining problems. The fact that you talk about systemd may lead to the conslusion that you are using 12.1 (andthat only because it is at tthe moment the only supported one with systemd by incident), but it is better that you simply say so then that others have find out by reading your post from top to bottom even before the start to assess your problem.
On 2012-06-20 17:36, dpdh wrote:
>
> Hi,
> I am new to openSUSE. My system seems to start slowly, about 90 seconds
>>
> I use systemd-analyze blame and I see that
> storage-after-cryptsetup.service and lvm.service take a long time to
> start. I am thinking about shut those off because as I read, I dont use
> use encrypted partition.
If they take to long and you are not using lvm nor encripted partition, the
interesting thing would be determining why they take so long and report the
bug or correct the wrong configuration.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Also wold help if you show output of fdisk -l (as root and that is a lower case L not a one)
Maybe you do have a encrypted LVM partition. It would help to know for sure.
On 2012-06-21 08:46, dpdh wrote:
>
> Thanks hcw for the guide and others for replying
> It is openSUSE 12.1
> Here the output results
>
> systemd-analyze blame
I personally prefer “systemd-analyze plot > plotfile.svg”. If you do, post
the svg, do not convert to png.
You should look in the log to find out why those services take so long. If
they are waiting while other services run, then it might not matter.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
I was planning on using system-analyze plot but I got an error
systemd-analyze plot > plotfile.svg
Traceback (most recent call last):
File "/usr/bin/systemd-analyze", line 113, in <module>
import cairo, os
ImportError: No module named cairo
Thanks for posting. It shows that you indeed do not use LVM.
And no. Not having a seperate* /home *is no problem, not in connection with this case. But it is generaly seen as usefull because you then can install/upgrade your system while keeping all of your users data nicely seperated in a file system that will not change for one bit during that (re)install. It is also the default when installing.
And I personaly value the seperation between system data and the data of the users simply as a neat and secure feature.
On 2012-06-21 18:26, hcvv wrote:
>
> Thanks for posting. It shows that you indeed do not use LVM.
Then he needs to look at the log.
> And no. Not having a seperate- /home -is no problem, not in connection
> with this case. But it is generaly seen as usefull because you then can
> install/upgrade your system while keeping all of your users data nicely
> seperated in a file system that will not change for one bit during that
> (re)install. It is also the default when installing.
> And I personaly value the seperation between system data and the data
> of the users simply as a neat and secure feature.
Absolutely… but he is dedicating less than 10 GB to Linux. In such a case
I don’t recommend a separate /home.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Btw, how do you know that I dont use LVM base on the result? And base on error message such as “no module name cairo” like before, how to figure out which package is missing?
(I use yast to find packages with “cairo” and it shows ton of them, dont know what to choose!)
ps: do I ask a lot!?
Am 22.06.2012 03:26, schrieb dpdh:
> And base
> on error message such as “no module name cairo” like before, how to
> figure out which package is missing?
martinh@ganymed:~> file /usr/bin/systemd-analyze
/usr/bin/systemd-analyze: a /usr/bin/python script, ASCII text
shows that systemd-analyze is a python script, so it has to be a missing
module in python.
From experience the python modules are in packages named
python-something, from that the conclusion was easy.
–
PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
As @gogalthorp says: the partition type tells if there is any partition that is ment to be used for LVM. If this is done is something else, but at boot the Kernel will at least check there.
The df -h will show if you have any file system mounted from an LVM logical volume. They will not show as* /dev/sd*…, but as /dev/mapper/…
The second may look as being superfluous after you checked the first. But there are other possibilities to use LVM then based on partitions.
That is the correct spirit! Do not try to much at a time, but asking when you can not follow our strain of thoughts is a good thing to increase knowledge IMHO.