Tuesday, March 20, 2007

Resolve startup issues and perform disk maintenance with Disk Utility and fsck




If your computer won't start up normally, you may need to use a disk repair utility to fix the issue. Mac OS X includes two utilities for this—Disk Utility and fsck. You can also use these even when your computer starts just fine but you want to check the disk for possible file system issues. For Mac OS X 10.4.3 or later, check out "About live verification in Mac OS X 10.4.3 or later," below.

Note: If you're using Mac OS X 10.4 or later, you should use Disk Utility instead of fsck, whenever possible.

In some situations, file system errors may prevent your computer from starting up. This can occur after an improper shutdown, forced restart, or power interruption. If your computer shows any of the following symptoms on startup, use a disk repair utility:

  • Your computer partially starts but then displays a command line in a text-only environment. You may see the message, "file system dirty, run fsck." Below it, you'll see what's called a command-line prompt, indicated by a number sign (#), that allows you to type a command. If you see this, you'll need to run fsck from the command line (see "Use fsck," below).
  • Your computer starts but either it won't reach the login screen, or it may reach the login screen but not load the Desktop after you log in. However, you can start up in single-user mode.

If your computer exhibits either of the above issues, here are some things to try to get your computer back to starting up properly again. If you can't find the system discs that came with your computer, see "Use fsck," below.

Try a Safe Boot

If you're using Mac OS X 10.2 or later, you can start up your computer in Safe Mode, which includes an automatic disk check and repair. If you're using Mac OS X 10.1.5 or earlier, skip to the next section. A Safe Boot, which starts up your computer into Safe Mode, may allow you to start up your computer successfully using a reduced version of the system software. To do this, follow these steps:

  1. Start up in Safe Mode.
  2. After the system has fully started up, restart your computer again normally.

If the computer successfully restarts, you do not need to do any more troubleshooting. If the issue persists, try Disk Utility.

Try Disk Utility

  1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
  2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
  3. Click the First Aid tab.
  4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
  5. Select your Mac OS X volume.
  6. Click Repair. Disk Utility checks and repairs the disk.

Tip: Always start up your computer from an Install or Restore disc when using Disk Utility to verify or repair your startup volume. Otherwise, you might see some disk error messages.

Use fsck

fsck is a command-line utility that may be able to verify and repair a disk. If you can successfully start up in Safe Mode or use Disk Utility while started up from a disc, you don't need to use fsck. However, here are some situations in which fsck may be necessary.

  • Your Mac OS X disc isn't available.
  • Your optical drive isn't available.
  • You can't start with a Safe Boot.
Tip: If you use a Mac OS X Extended (Journaled) formatted volume, such as with Mac OS X 10.3 or later, you probably won't need to use fsck. If you do use it for any reason, please be aware that benign error messages can appear.

If you're not sure how your volume is formatted and you can't start up from your Mac OS X volume to find out, type the following command in a command-line interface and then press Return: diskutil info /

If you see "File System: Journaled HFS+" returned, you have a Journaled volume.

To use fsck, you must run it from the command line. Unlike using your mouse to open an application to do something, you'll need to type a text command at the prompt (#) to tell fsck what to do. The Terminal application (/Applications/Utilities) and single-user mode are two examples of command-line interfaces in which you can type such commands. To use fsck:

  1. Start up your computer in single-user mode to reach the command line.
    Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, you can do this by pressing the reset/interrupt button (if there is one) or holding down the power button for several seconds. On portable computers, simultaneously press the Command-Control-power keys. If your portable computer doesn't restart with this method, you may need to reset the Power Manager.
  2. At the command-line prompt, type /sbin/fsck -fy
  3. Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:
  4. ** The volume (name_of_volume) appears to be OK
  5. If fsck found issues and has altered, repaired, or fixed anything, it will display this message:
  6. ***** FILE SYSTEM WAS MODIFIED *****

  7. Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
  8. When fsck reports that your volume is OK, type reboot at the prompt and then press Return.

Your computer should start up normally and allow you to log in.

About live verification in Mac OS X 10.4.3 or later

In Mac OS X 10.4.3 or later, you can verify your Mac OS X volume while started from it. This is known as live verification, and can be used in three different ways.

Option 1: Verify your disk using Disk Utility while started from the startup disk. To find out how to do this, see this article. Please note that live verification does not involve any disk repair, so if verification finds something that should be repaired, start up from your Mac OS X Install disc and use Disk Utility as described above in "Try Disk Utility."

Option 2 (advanced): Use the command line and the command-line utility, diskutil.

  1. Start up your computer and log in as an administrator.
  2. Open Terminal (/Applications/Utilities).
  3. At the prompt, type the following command and then press Return:

    diskutil verify /

Note: Don't use this method to check non-startup volumes.

You should see messages such as the following during the disk check:

Could not unmount disk for verification, attempting live verify
Started verify/repair on volume disk0s3 Macintosh HD
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume Macintosh HD appears to be OK.
Mounting Disk
Verify/repair finished on volume disk0s3 Macintosh HD

Option 3 (advanced): Use the command line and the fsck_hfs -l command.

  1. Start up your computer and log in as an administrator.
  2. Open Terminal (/Applications/Utilities).
  3. At the prompt, type the following command and then press Return to determine your filesytem ID:

    df -hl
  4. Look for some lines of text that look like this:

    Filesystem Size Used Avail Capacity Mounted on
    /dev/disk0s3 37G 20G 17G 55% /
    /dev/disk0s5 37G 37G 641M 98% /Volumes/Storage
  5. Make a note of the first "disk" name that appears after /dev/, such as "disk0s3." This is your filesystem ID for your startup volume.
  6. At the prompt, type the following command and then press Return:

    df -hl
  7. Then type the following command, where "disk0s3" is your filesystem ID you noted in step 4, then press Return:

    sudo fsck_hfs -l /dev/disk0s3
  8. When prompted, enter your admin password, then press Return to begin the verification.
  9. You should see messages like these during the disk check:

    ** /dev/rdisk0s3 (NO WRITE)
    ** Root file system
    ** Checking HFS Plus volume.
    ** Checking Extents Overflow file.
    ** Checking Catalog file.
    ** Checking multi-linked files.
    ** Checking Catalog hierarchy.
    ** Checking Extended Attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** The volume Macintosh HD appears to be OK.

Additional Information

If you're interested in UNIX-style command-line syntax, here's a look at how a couple of flags used in our instruction can influence fsck:

  • The -y flag: Tells fsck that you want to answer "yes" to all questions about fixing, repairing, or salvaging information. This is the optimal approach, as answering "no" to any question causes fsck to stop. You cannot determine that all necessary repairs have been made until fsck completes and gives its final report.
  • The -f flag: Forces fsck to check "clean" filesystems when preening.


Related documents


25770
302411

Sunday, February 04, 2007

Mobile Services market $150

GLOBAL MOBILE CONTENT AND SERVICES MARKET TO TOP $150
BILLION BY 2011
01 February 2007

Informa Telecoms & Media predicts that the mobile web will
herald dramatic growth in revenues in the mobile content and
services market

Despite falling average revenues per user (ARPU) for mobile
operators, the mobile content and services market will
continue to grow dramatically as services and applications
reach maturity and new services begin to gain traction,
according to Informa Telecoms & Media. The latest edition of
Informa's "Mobile Content and Services" report reveals that
the introduction of a whole host of new players into the
value chain presents new opportunities for growth in the
mobile content and services market, whilst simultaneously
posing a threat to mobile operators who face losing control
of the billing relationship with their customers.

The mobile web heralds a new age

Mobile handset and network technology has now evolved to a
point where true mobile web access is possible. Informa
anticipates that by 2011, just under half of all mobile
subscribers worldwide will use mobile browsing, a trend it
sees developing with new operator offerings such as
T-Mobile's 'Web n Walk' service and 3's 'X-Series' services.
Despite this, messaging, headed by SMS will continue to
dominate the overall revenues for the market, generating
over half the total revenue in 2011 (from 67% in 2006).

"Advanced mobile content and services have been slow to take
off, but this should not be confused with the deepening
relationship that we have with our mobile phones. We may not
be buying as many games, full-track downloads or multimedia
messages as operators would like, but we are spending a huge
amount of time sending and reading text messages and
organising our lives using the phone's address book, clock,
alarm and calendar functions," commented Daniel
Winterbottom, Senior Analyst with Informa Telecoms & Media
and author of the report. "Over time, users will warm to
other data services as well. The mobile web is a prime
example: WAP failed to take off when it was first launched,
but five years on, more and more users have become
comfortable with accessing news or other information on
their mobile phones."

The mobile entertainment space will also see significant
innovation and development. Several technologies, such as
mobile music, have been available for a number of years but
the increased availability of high-speed data networks (such
as 3G and HSDPA) is giving further appeal to these services.
Mobile music will be a major contributor to the revenues
achieved in the mobile entertainment market in the next 5
years, although its overall share of the market will fall
from 40% in 2006 to 36% in 2011 as new forms of
entertainment such as mobile TV and video services begin to
gain consumer interest. Games, gambling, personalisation and
adult content will all see significant growth, as the
overall mobile entertainment market grows from US$18.84
billion in 2006 to US$38.12 billion in 2011.

Evolving services

The report investigates a number of other areas which will
see growth in the next five years:

User-Generated Content, the big story of the Internet in
2006, will continue to extend to the mobile space as new
applications begin to extend communities to users on the
move, and provide further means for mobile users to
contribute content whilst on the move. Informa forecasts
that the user-generated and communities will be worth
US$13.17 billion by 2011.

M-Commerce faces a number of challenges and has already hit
a few stumbling blocks. Whilst payments for digital content
'on-portal' continue to function, the growth in off-portal
content and the migration to the mobile web will open up the
market to other players. Google and eBay are both vying
hungrily for this space. Using the mobile as a vector for
physical payments, however, has proven more complex and
whilst the technology, in terms of Near Field Communications
chips embedded in handsets, is readily available, it has
been a struggle to prove demand outside of the Far East.
Informa estimates that the worldwide market for m-commerce
was US$359 million in 2006, coming mostly from the
Asia-Pacific region.

Mobile TV will continue to be the focus of much excitement
from mobile operators as broadcast services using a range of
different technologies are rolled out across Europe. It
remains to be seen if consumers will be as excited about the
services, and how operators will manage the issues of
advertising and pricing which will be critical to the
success of the service.

Operator strategies

The shape of the mobile content market is defining the
evolution of the mobile operator as a business entity. The
report investigates alternate approaches that are being
taken by different operators, from those remaining 'pure
play' mobile, diversifying into new vertical markets or
business applications, to those converging into a one stop
communications house. It gauges how these strategies will
pan out and where each strategy is likely to take hold in
different regions.

"The arrival of the mobile web on the mobile handset over in
2007 and beyond will see users embracing the same content
they take for granted on their PCs. Operators need to ensure
they are firmly locked into this value chain or risk missing
out on what will be an enormous market by 2011," concluded
Winterbottom.

About Informa Telecoms & Media

Informa Telecoms & Media is the leading provider of business
intelligence and strategic marketing solutions to global
telecoms and media markets.

Driven by constant first-hand contact with the industry our
90 analysts and researchers produce a range of intelligence
services including news and analytical products, in-depth
market reports and Datasets focused on technology, strategy
and content.

Informa Telecoms & Media also organizes more than 125 annual
events, attended by more than 70,000 executives. In addition
to the GSM>3G World Series, our events cover subjects as
diverse as fixed and mobile operator strategy, technology,
TV, mobile music and games.

Informa Telecoms & Media is always willing to work with
journalists to provide stats, data or comment for articles.

To purchase this report, please visit

http://www.informatm.com/content

For further information, please contact:

Daniel Winterbottom

Senior Research Analyst

Informa Telecoms and Media

daniel.winterbottom@informa.com

Tel +44 (0) 207 017 5553

Media Relations

Natasha Mensah


Marketing & Communications Executive

Informa Telecoms & Media

natasha.mensah@informa.com

Tel +44 (0) 207 017 5824

http://www.informatm.com/?sr=itmpr

http://telecoms.com/?sr=itmpr
04