How to cancel filesystem check at boot time with systemd

Hello,
while booting, when the filesystem is checked and it takes too long, it was possible with initscripts to press ctrl^c to cancel the check and postpone it to the next boot. How this can be done with systemd?

http://kernelnewbies.org/Ext4#head-9a25 … 1279bd2b00 would lead me to think that fsck on converted ext4 should be as fast as on a regular ext4, unless http://kernelnewbies.org/Ext4#head-e7f9 … 68c012655c you're using a compatibility mode by mounting the converted fs as ext3.
https://wiki.archlinux.org/index.php/Ex … to_extents should take care of old, pre-migration data.
Admittedly, I may be reading into this too much, this is mostly guesswork on my part and you seem to know much more about the filesystems than I do :-)

Similar Messages

  • How to start OC4J at Linux boot time

    Hello,
    I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
    Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
    Thanks.

    Just put your OC4J start/stop commands in a rc script.
    Scripts in the directories
    /etc/rc.d/rc2.d
    /etc/rc.d/rc3.d
    /etc/rc.d/rc5.d
    will be called by the operating system with the command line option start.
    The number in the directory names represent the desired run level of the machine.
    Scripts in the directory
    /etc/rc.d/rc0.d
    will be called during shutdown with the command line option stop.

  • How do I start slapd at boot time in leopard?

    Greeting,
      Forgive me if this is the wrong forum/community.
      I want to start slapd at boot time on my new leopard upgrade.  On tiger, it was as simple as having an LDAPSERVER=-YES- line in /etc/hostconfig.  That does not seem to work for leopard.  I can run slapd from the command line.  I needed to make changes to the slapd.conf tiger version and reload my database, but all is working fine.  I just have not been able to get the deamon to start at boot up.  It must be simple.  Any ideas?
      Thanks,
    --Linn

    Texas Mac Man,
      Thanks.  Slapd is the OpenLDAP daemon (server) delivered with MacOS, even Client.  No, starting at the user level is not what I need.  I can already do that in a terminal window with /usr/libexec/slapd, after I get su'ed to root.
      Think Unix, not iApps.  When the system boots up, there should be scripts available to start specific daemons.  I am looking for hints there.
    BDAqua,
      Thanks.  I had seen that first discussion before.  It deals with slapd failing when it tries to start on MacOS Server... where all these daemons indeed start at boot time.  I am just trying to figure out how to do in leopard what I successfully did in tiger, namely start /usr/libexec/slapd at boot time.
      And note, this is not an issue with slapd failing due to slapd.conf or database problems.  All works fine from the user lever start.
      Thanks,
    --Linn

  • How to check the current time with a Stored  time in string format

    Hi All
    I would like to compare the system time with an existing time values which is allready there in String format..
    i mean i would like to check if the SysTime is inbetween 6:30 and 14:00
    I accomplished this in Oracle ..
    Select 'Y' from dual where to_date(to_char(sysdate,'HH24:MI '),'HH24:MI') between to_date('06:30','HH24:MI') and to_date('14:00','HH24:MI')
    But instead of checking the DB each and every time , the perfomance would be better if we can do this in our java code..
    Could some one provide me with a code to accomplish the above scenario..
    Thanks in advance..,.,

    import java.util.Calendar;
    Calendar rightNow = Calendar.getInstance();  // gets the current date and time to millisec
    Calendar earlyTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 6).set(Calendar.MINUTE, 30);
    Calendar lateTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 8).set(Calendar.MINUTE, 0);
    if (rightNow.compareTo(earlyTime)> 0 && rightNow.compareTo(lateTime) < 0){
    // do something
    }Try this.

  • How to start ASM instance at boot time - RHEL 2.1

    Oracle 10.1.0.3
    RHEL 2.1
    I'm not able to get the ASM instance (not RAC) to start at boot time. It seems that the ocssd daemon does not finish starting until after all rc* scripts, including rc.local, have finished executing.
    Patch 3458327 includes a new dbstart with header notes that are in conflict. The notes says that dbstart can't be used to start ASM until AFTER all rc* is finished.  Then it continues and states that ASM instance startup should be put in rc.local.
    As soon as I get logged on, a ps -ef|grep ocssd shows the daemon running. I can then manually start the ASM instance.  There must be a way to get the ASM instance "auto" started at boot time.
    Ideas?

    The cheapest and administratively easiest way for me was to start Oracle instances (ASM and data) by "at" command :-) from rc scripts. Something like:
    ....echo "oracle start" | at now+2min....
    Additionally the deferred startup has some additional advantages in my environment, so I am not motivated to look for better solution.
    Best regards,
    Pavel

  • Really slow boot time with spinning gear

    My 13-inch Macbook Pro has been acting really funny lately. When I start up my computer I get the Apple logo and then a spinning gear. This continues to spin for a good minute then proceeds to just the Apple logo and then starts up. Does anyone have any suggestions as to why it is doing this? Thank You.

    These are some of the ways which can help you reduce the time it takes between GRUB and the DM.
    1. Append 'fastboot' in the kernel line in /boot/grub/menu.lst
    -->This enables asynchronous startup, which can slash one second(or a tad more) off your boot time, However this is known to break the arch boot process on some machines.
    2. Ascertain irrelevant HOOKS from mkinitcpio.conf which you can subsequently remove. Also, set the compression method of your kernel image to lzma, which has the greatest compression ratio of the three available formats. This should reduce the time it takes for your HDD to read the image, as it is compressed to a smaller size, at the price of more CPU. The trade-off is worth it, as a 5400RPM HDD is the performance bottleneck for most laptops. 
    3. You could try quick-init from the AUR.
    4. Use a lightweight DM like Slim.
    5. Use a kernel, optimised with patchsets.
    My laptop is nearly 5 years old(from the date of purchase of course). GRUB to GDM takes 20s without options 3, 4, and 5.
    I had an obsession with reducing boot-time for Arch on my desktop many months ago... and I do think I've lost count on how many times I've had to chroot from the LiveCD to fix my system haha :S
    I've managed 10s between GRUB to Slim(from18s), with the help of quick-init, having no identifiable consequences to my system.
    Last edited by edward.taylor89 (2010-11-09 18:07:57)

  • [SOLVED] samba does not start properly again -this time with systemd

    Definitely no luck with this one...
    So, today I've switched to a pure systemd init system, and noticed that I have this old issue again.
    (Link to my old thread: https://bbs.archlinux.org/viewtopic.php?id=142704)
    Samba doesn't start properly again, more precisely smbd is launched but not nmbd, so samba is not working as it should (for example smbtreee lists nothing).
    Last time I've solved it by putting samba long before networkmanager in the daemons array, but with systemd I'm a bit confused...
    Anyone has this issue?
    Last edited by scar (2012-11-03 07:05:42)

    I think that nmbd isn't waiting for networkmanager to start on my system, because I'm getting journal entries like
    Oct 31 00:47:21 spacebar winbindd[431]: [2012/10/31 00:47:21.556005, 0] param/loadparm.c:7969(lp_do_parameter)
    Oct 31 00:47:21 spacebar systemd[1]: nmbd.service: main process exited, code=exited, status=1
    Oct 31 00:47:21 spacebar systemd[1]: Unit nmbd.service entered failed state.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> (eth0): carrier now ON (device state 20)
    Oct 31 00:47:22 spacebar kernel: r8169 0000:03:00.0: eth0: link up
    Oct 31 00:47:22 spacebar kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Auto-activating connection 'Static'.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) starting connection 'Static'
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
    Oct 31 00:47:22 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
    Oct 31 00:47:22 spacebar rpc.mountd[462]: Version 1.2.6 starting
    Oct 31 00:47:22 spacebar systemd[1]: Startup finished in 3s 850ms 155us (kernel) + 21s 279ms 972us (userspace) = 25s 130ms 127us.
    Oct 31 00:47:23 spacebar NetworkManager[391]: <info> (eth0): device state change: ip-config -> activated (reason 'none') [70 100 0]
    Oct 31 00:47:23 spacebar ntpd_intres[441]: DNS 0.au.pool.ntp.org -> 116.66.160.39
    Oct 31 00:47:23 spacebar NetworkManager[391]: <info> Policy set 'Static' (eth0) as default for IPv4 routing and DNS.
    Oct 31 00:47:23 spacebar NetworkManager[391]: <info> Activation (eth0) successful, device activated.
    Oct 31 00:47:23 spacebar NetworkManager[391]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
    Oct 31 00:47:23 spacebar dbus[401]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
    Oct 31 00:47:20 spacebar smbd[428]: [2012/10/31 00:47:20.771872, 0] param/loadparm.c:7969(lp_do_parameter)
    Oct 31 00:47:20 spacebar smbd[428]: Ignoring unknown parameter "user client driver"
    Oct 31 00:47:20 spacebar smbd[428]: [2012/10/31 00:47:20.794252, 0] lib/interface.c:543(load_interfaces)
    Oct 31 00:47:20 spacebar smbd[428]: WARNING: no network interfaces found
    Oct 31 00:47:20 spacebar smbd[428]: [2012/10/31 00:47:20.805126, 0] smbd/server.c:1109(main)
    Oct 31 00:47:20 spacebar smbd[428]: standard input is not a socket, assuming -D option
    Oh, this started happening after putting a MUCH faster cpu and motherboard in the system, so maybe there's a race-condition there?
    Last edited by MisterAnderson (2012-10-30 04:59:46)

  • HOW TO CONFIGURED CONDITION CHECK IN RUN TIME

    MY SCREEN LIKE WITH TWO TEXT BOX WITH ANY VALUE IN INTEGER OR LONG  AND I WRITE CODE FOR  CHECK CONDITION LIKE >,<=<=,>=  ETC. SELECTION FROM DROP DOWN OR ENTER IN ANOTHER TEXT BOX SO HOW I CAN ACHIEVE MY REQUIREMENT.

    In order to compare the values of two textboxes, you will need to convert the text to numbers. Use a code like this (in C#):
        long number1 = long.Parse(textBox1.Text);
        long number2 = long.Parse(textBox2.Text);
    (Or consider long.TryParse).
    Then use a switch statement to identify and perform the required comparison.

  • How to cancel a check out?

    Hi,
    I have a problem with a file, which seems to be checked out. A check in is not possible because the computer was re-installed with windows.
    When I try to synchronize the sources of this java file the following build process tells me the file is write protected, which is true. So I have to manually unprotect the file, but sometimes changes are not really possible. I just checked it out, modified it and checked it in, but after a new sync the changes are lost
    Is there a possibility to see which files are checked out? I tried to use the DTRShell but I can't find a suitable command
    Regards, Nils.
    Edit: I get the modified file after I remove the write protection. However...
    Message was edited by: Nils Winkler

    Hello Nils,
    See if this helps.
    1. Log on to DTR Web UI with Administrator user.
    2. Search for the activity. Even if you dont remember the name search for all the open activities. There is a search report which is integrated with DTR Web UI. i dont have a system right now else would have sent the exact link.
    3. Once you find the relevant activity navigate to it by clicking on the link.
    4. On the top right hand corner there is drop down from there select revert activity.
    Be aware that you will lose all the changes done. Hopefully this should work.
    Regards
    Sidharth

  • Audio is not in sync with the video. how do I make audio run in time with video?

    when I play any video from any site, the video lags behind the audio. How do I correct this?

    While the posted solution to my sync issue could very well correct my problem, the poster presumes I am computer literate, which I am not. lol
    could the solution provider please explain the solution as is it were being given to a 6 year old? Although most 6 year old's are possibly more computer literate than I. lol
    Thank you for your time.
    I will be checking back for any response.

  • Booting time with Leopard

    May appear simplistic.
    But it seems, eversince I had OS 10.5.6 or maybe just lately, booting seems to take a little longer.
    I timed it at 75 to 80 sec. from the push of the START button until the full appearance of the DeskTop.
    Ran a Dik Utility Verification, ALL is fine.
    Now this could be anxiety on my part, but is this OK?
    MBP 2.16 duo, 4 RAM, 30GB on internal drive.
    Thank you
    R

    Try booting it to safe mode once, then normally again. If you want to, try timing it before safe mode and after. Safe mode itself will take longer because of what is going on, but maybe it will do a bit of spring cleaning. I don't have your system configuration so I can't say if that seems a long time or not.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://docs.info.apple.com/article.html?artnum=107392]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    Safe boot mode runs a directory check command similar to that used by Disk Utility's repair. In Tiger it ignores some stored information (cache) that is normally read that speeds up the boot process, and it moves some other caches to the trash. It also uses only System fonts and disables all Startup Items, third party items, and any Login Items.

  • How to cancel iCloud storage upgrade over email with Apple?

    I got an iCloud storage upgrade yesterday and would like to cancel it. I do not wish to pay every month for something I dont need. How do I cancel it over email if possible? I have an IOS 8.2. I want to downgrade to the 5 free GB. I purchased the 20 a month. I have only used 4 GB so I should be able to downgrade.

    Never mind I found a page that showed me how to do it.

  • Polyphony- how many notes can play at one time with the software instrument

    Hello everyone! Is the Polyphony limited in Garageband 3 when playing the software instruments? Is there a setting I should tweak? I noticed this when using the sustain pedal with the grand piano sound.

    I can't give you exact figures, but GB does have problems with overlapping notes. It's weird sometimes - while it certainly can play a lot of notes at a time, like big chords, it chokes on melodies where the notes overlap. I don't know of any other fix than making sure that the notes don't overlap.

  • Scanjet G4050- How to scan multiple slides at one time with Image Capture

    Using Scanjet G4050 with Mac and OS 10.6.  Thus using Image Capture to control scanner.  When using the slide template for 16 slides, Image Capture only allows me to select one slide at a time. 
    Is there a way to fill the template with 16 slides and have Image Capture scan all 16 slides without having to select each one in turn?  It is a real pain to have to direct each scan.

    Hi jpbear
    I am going to take credit for finding the solution that the HP Photo Suite from OSX 5 works in subsequent Mac OSX. Look at this web page.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4019&lc=en&cc=us&dlc=en&sw_lang=&product=3236...
    If this doesn't work for you, I am willing to guide you to finding the page. I downloaded a copy a few minutes ago and it was still available. The Photo Suite is actually an amazing set of applications but the one you want to use with your HP ScanJet  G4050 is HP Scan Pro. I continue to use it with OSX 9 but other people have reported that it continues to work with OSX 10 as well. It allows me to scan the 16 slides on the bed individually with one pass. It also has some colour balancing function.
    Frangelica

  • Longer boot time with 10.4.11?`

    I updated my macbook pro from 10.4.10 to 10.4.11. No major problems so far, but it does seem to take longer for the computer to boot up. Anybody else noticed this? Any explanation?
    AK

    a brody wrote:
    Have you verified all your installed software and hardware is known to be 10.4.11 compatible?
    No. Nor would I expect to have to do so.
    The only hardware different from stock is increased memory - which worked fine on all previous 10.4.X releases.
    No non-apple applications load at start-up, so I don't see the relevance of software compatibility. And again, everything worked fine through 10.4.10.

Maybe you are looking for