PFe  
Front Page
Notice | Keyword | Tag | Location | Guestbook | Admin | Write Article   
 
5 states of filesystem (used by fsck for checking filesystem integrity)

File systems can be damaged or become inconsistent because of abrupt termination of the operating system in these ways:
- Power failure
- Accidental unplugging of the system
- Turning the system off without proper shutdown procedure
- A software error in the kernel

When a system is booted, a file system consistency check is automatically done. Most of the time, this file system check repairs problems it encounters. File systems are checked with the fsck (file system check) program.

* Understanding How the File System State Is Recorded
fsck command uses a state flag, which is stored in the superblock, to record the condition of the file system. This flag is used by the fsck command to determine whether or not a file system needs to be checked for consistency. The flag is used by the /etc/bcheckrc script during booting and by the fsck command when run from a command line using the -m option. If you ignore the result from the -m option to fsck, all file systems can be checked regardless of the setting of the state flag.

The possible state values are:
* FSCLEAN - If the file system was unmounted properly, the state flag is set to FSCLEAN. Any file system with an FSCLEAN state flag is not checked when the system is booted.
* FSSTABLE - The file system is (or was) mounted but has not changed since the last checkpoint: sync or fsflush--which normally occurs every 30 seconds. For example, the kernel periodically checks to see if a file system is idle and, if so, flushes the information in the superblock back to the disk and marks it FSSTABLE. If the system crashes, the file system structure is stable, but users may lose a small amount of data. File systems that are marked FSSTABLE can skip the checking before mounting.
* FSACTIVE - When a file system is mounted and then modified, the state flag is set to FSACTIVE. The file system may contain inconsistencies. A file system will be marked as FSACTIVE before any modified metadata is written to the disk. When a file system is unmounted gracefully, the state flag is set to FSCLEAN. A file system with the FSACTIVE flag must be checked by fsck because it may be inconsistent. The mount(2) system call will not mount a file system for read/write if the file system state is not FSCLEAN or FSSTABLE.
* FSBAD - When the root file system is mounted when its state is not FSCLEAN or FSSTABLE, the state flag is set to FSBAD. The kernel will not change this file system state to FSCLEAN or FSSTABLE. If a root file system is flagged FSBAD as part of the boot process, it will be mounted read-only. You can run fsck on the raw root device. Then remount the root file system as read/write.

State Flag Transitions After fsck
Before fsck After fsck

Initial State No Errors New State All Errors Corrected Uncorrected Errors
unknown stable stable unknown
active stable stable active
stable stable stable active
clean clean stable active
bad stable stable bad

from http://docs.sun.com/app/docs/doc/801-6631/6i10bkb0u?l=ko&a=view



이올린에 북마크하기


EFI Disk Label

VTOC Label은 1TB 이상의 Disk를 지원하지 못하는 한계점을 가지고 있다. 1TB 이상의 Disk를 사용하기 위해서 EFI (Extensible Firmware Unterface) Disk Label을 사용할 수 있다. 1TB 이하의 Disk에서 EFI Label을 사용하고자 할 경우에는 format -e 명령어를 사용할 수 있다.
 
EFI Label과 VTOC Label의 비교
* EFI Label은 1TB 이상의 Disk를 지원한다.
* 0-6 번의 slice를 사용할 수 있으며, 2번 slice도 하나의 slice로 사용한다.
* EFI Label의 크기는 보통 34 sector이다.

EFI Lable의 한계점
* SCSI driver, ssd에 대해서 현제 2TB까지만 사용 가능하다. 2TB 이상의 Disk를 사용하고자 할 경우 Volume Manager를 사용하여햐 한다.
* Solaris 9 4/03 버전부터 사용 가능
* IDE Disk는 지원하지 않는다.
* EFI Label을 사용하는 disk는 boot disk로 사용할 수 없다.
* format 명령어에서 save option을 사용할 수 없다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Tag : EFI label


Project BlackBox

기업들이 IT 자원들을 관리하는 데에 있어서 고민거리는 무엇일까.
데이터 센터를 구축하는데에도 많은 시간과 돈이 필요하지만,
데이터 센터를 운영하는데에도 역시 많은 비용이 들어간다.
시간이 지날 수록 크게 증가하는 전력 소모에 대한 비용과,
부족한 데이터 센터 공간에 대한 문제가 대두되고 있다.
따라서 좀더 전력을 적게 소모하고 공간을 효율적으로 사용하는 서버 개발에 열을 올리고 있다.
또한, 갑작스럽게 비지니스가 성장하여 빠른 시일 내에 컴퓨팅 파워를 증가시켜야 할 때,
데이터 센터를 이전해야 할 때, 재난 상황에서 복구가 필요할 때 등의 문제에 대해
전통적인 데이터 센터에서는 효율적인 대응을 하기가 어렵다.


썬에서 이번에 새로 선보이는 Project BlackBox라는 제품은 이러한 전통적인 데이터 센터의 단점을 보완하기 위해 만들어졌다.
Project BlackBox는 이동성과 효율성 그리고 비용절감 효과를 가진 최초의 가상화된 데이터 센터이다. 우리가 흔히 보아왔던 컨테이너 박스와 동일한 틀 안에, 고밀도로 컴퓨팅 파워를 구현해 놓음으로써, 필요한 곳으로 신속하게 이동하여 IT 자원을 제공하게 된다. 또한, 수냉식의 냉각방식을 사용하여 기존 데이터 센터에 비해 40% 정도 냉각 비용을 절감하였다.

암튼, 다음 주 중국과 일본에 이어 Project BlackBox 투어가 한국에서 열린다.
수요일은 여의도에서 목요일은 삼성동 Intercontinental에서,
마지막 날인 금요일은 상암 LG 데이터 센터에서 진행될 예정이다.
(마지막날 행사진행이니 집근처에서 퇴근하겠구나!)

사용자 삽입 이미지

사용자 삽입 이미지

자세한 내용은
http://sun.com/blackbox
http://kr.sun.com/blackbox

이올린에 북마크하기
Tag : PBB, Project BlackBox, Sun Microsystems, 블랙박스,


BLOG main image
 Notice
 TattertoolsBirthday
 Category
전체 (40)
Essay (15)
Album (2)
BookReview (2)
miscellaneous (5)
Newspaper (2)
Movie (6)
Solaris (4)
SunMicrosystems (1)
English QT (0)
 TAGS
야근 Solaris10 버그 임베디드 D-war 트랜스포머 File System Project BlackBox 퇴근 한 발의 B-boy 스타크래프트 영화 심형래 PBB 미드 인적성검사 season7 변명 썬마이크로시스템즈 EFI label 이어폰 VTOC 지하철 잡상인 24 공공 예절 Sun Microsystems 게임 Solaris 최종 면접 블랙박스 크리미널 마인드 밀양 취뽀
 Calendar
«   2008년 11월   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
 Recent Entries
5 states of filesystem (u..
EFI Disk Label
Project BlackBox (3)
24 Season 7 Coming soon.... (2)
Solaris OS File Systems
 Recent Comments
FYI, The pictures above a..
PFe - 2007년
Not as much as to be with..
PFe - 2007년
이미지들이 멋지다..^^
진희 - 2007년
또 나왔네 이거.. 그렇게나..
진희 - 2007년
드디어 멋진 썬맨이 되셨어..
봉달이 - 2007년
 Recent Trackbacks
Escorts Ny
Escorts Ny
Seattle Escort Service
Seattle Escort Service
Birmingham Escort
Birmingham Escort
Escorts Needed
Escorts Needed
Scottsdale Escorts
Scottsdale Escorts
 Archive
2008년 05월
2007년 11월
2007년 08월
2007년 07월
2007년 06월
 Link Site
bongdal
SSR
Story about my world
Sun Microsystems
Winchul
 Visitor Statistics
Total : 12551
Today : 14
Yesterday : 16
태터툴즈 배너
Eolin
rss