Каталог статей
Меню сайта


Форма входа


Категории раздела
Oracle DB [72]
Materials concerning Oracle database
Howto [24]
Все про Oracle [65]
Разработка на SQL и PL/SQL для Oracle, анализ работы базы
Построение Web-интерфейса: все что касается JSF, ADF и AJAX [9]
Разное [19]
Solaris [46]
Что касается администрирования Solaris
Linux [29]
Заметки по настройке Linux
AIX [1]
AIX, настройка Oracle на AIX
Java [15]
Cryptography [10]
Windows [1]
Java [35]
PostgreSQL [2]


Поиск


Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz


  • Статистика

    Онлайн всего: 1
    Гостей: 1
    Пользователей: 0


    Приветствую Вас, Гость · RSS 09.05.2024, 22:27
    Главная » Статьи » Solaris

    format command hangs

    https://support.symantec.com/en_US/article.TECH225180.html

    Cause

    The 'format' utility has a new feature beginning in Solaris 10 6/06 Operating System called 'in use checking'.

    This feature is enabled by default.
    Solution

    Any time the 'format' utility is run on the disk, it performs many verification/checks on the disk itself (does it contain a slice that is mounted, is it part of SVM metadevice, is it being used by ZFS filesystem, is it being used by swap etc...)


    So, if there are lots of devices, or if there were some kind of issue on the device itself (for example, differences on what the label says and what the actual device stated), 'format' command may appears hang as it does all sort of checking in the background.

    So, to avoid this kind of situation, there is an environment variable 'NOINUSE_CHECK' which can be set / turned on, prior of running the 'format' command:

    # NOINUSE_CHECK=1
    # export NOINUSE_CHECK
    # format

    Once that is set, the 'format' command will proceed with no time by passing all of the verifications and checking.

    Категория: Solaris | Добавил: basil (17.11.2015)
    Просмотров: 394 | Рейтинг: 0.0/0
    Всего комментариев: 0
    Имя *:
    Email *:
    Код *:
    Бесплатный конструктор сайтов - uCoz