0 ratings 0% found this document useful (0 votes) 10 views 34 pages Unit-4File Systems and IO Systems
The document discusses various aspects of disk management and storage systems, including the structure of platters in hard drives, the role of the operating system in managing disk activities, and the importance of file systems. It highlights methods for data access, error handling, and the organization of files and directories. Additionally, it covers the advantages and disadvantages of different storage management techniques, including random access and fragmentation issues.
AI-enhanced title and description
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
Save Unit-4File systems and IO systems For Later ’ ae
ef fu we, Ore the clenties HH cre!
nt of date osually th
a ane used vA computes pt
. secondary
a ‘lente ‘
state deuces (ssp)
Maga e
Daks are ted te doe le da ce Le
ha compiler Sytem: ; un
A dish & made. up of Ohe (or) Mere Platters
winch ae at ond hullon ub shape tke £0. ond
clon the ange 18 fo Brow Niches «
have
A\l Platters are ofpced doa conta) spindle that
Rotales«
The Ba Read wate hood above platter The
Gap between the head ond Platter, 8 Exdromcl ur
1) the heed ouch te Magnet ounce, H may. detny he
Platlen. This sttualien & Called Head crash.
Tec every platter, there ase oo stead -wafte head,
and otter Apr the. better,
One pr the ‘oP surfareEN Gn Whos doled Medea
Bs, the entfie drsh neddto be
4 {
SD),
state disk, va Ipre of | stage dace |
at), Aor be vtec a
r sidered to be meterdiable because tt
Pan and hente ‘thee € Mo sok hid
I~
~~
me
SS,
a eclly Conneded tothe syshem bus
d a a Mew Cache ter dex © phinrticg Retformeance.
"PMagnelic [tapes ane
~7Magache apes Can
le stebiable Gd fhexensve
Riaed and ‘newed Number
Prsodvalage iy ia by
nc Teed he Sedna ih thhure, cannet
, Hy Standem 4
Palo. hans fel ok Verj louse :mF
2 Logtcal blochs one Maped © Dist sector.
Seco & the Culeamos! Cinder as Secler ©-
“The Mieppitg Joes on unl all sete>
ads Gre Afaded. As, we Ge ane
te fnnen yaks. the density of bh Me
By bay) Gheten thon tha dengell
Jocks. $0, comtau tgp vl
Bee he ramon Roke comlet + Sem
eee Cowon} Hoec Veloily. i the
coer tees eeHime Of Flory stequed 6 cabuulabed ta, Advancn
schedule aukordag to their Soakfime |,
My otequedt Near the diskdary will be
peti decreased ,
increase d
fad fo calleulste the SeakHme oe
— é
: v fora Recjuext id aa ae
K Centaie 2oolracks (o-(A)
Contam 93, |76, f2, 149, 27, 14,
of Mu hud -b
Ne of Track moverah 4 Rjohead usw) SSTF
"ee
18BcaW (5) Eval er Ana) MMS it A
move 8 One Adiecton Ont salen 4
)
sh, Uritil there & No mele Plequesh wi that
f then steyersed «
the an Elevaler
tradvartage b
eng wating me Ap Request fe lecakonul
I© oppette End of dish and scar begins Again
wat time Compared to scon :
a5 MBN Ye Abk contasis
199 ©. \9a)
B, 176,42, 18,
27, tb, 130
Cevven! 55
= 385~Cfrevlos Look (¢-Lock):
y 27 4 55 93 hg 116180 |
Tebl Ne of Reedjuite? (|
Movement,Row Ba “collechon of Vartour Dah ox heh Sone
fb wed +o qa bebtea doa ey
These ane tmany, Loves ef Raw Such ay
Ths can be don at 3level,
> Bi erd, Byfe Level (ibyle= 3 bib), Blocklevdl (Groupol by)
Ramo.
Block levd Dosa pag
> Fault Tlerwne > None
Perdenmncece : Fastest = Ee)
~7 Slorae space= '00'/-
‘] Sote 0 GBSig th Pesily
Bloch Level stypuig aleng ufth Party is wed af
FAD: Block Sting oth Disksbuted pavty:
k Block Level stptq alen uth paity 8 wed at
level. Patty 8 Aistibited ameney several | Hod drives
Peslemnance :- Fast CAdvanlage)
Pvaduahage slocoge Space used only (ay)
Jemaroing or pealThe Rad6 & Mestly Ubbzed 1A big
the Google and facchook thei high Avaibabitty of data
|
|
Dsk Management S
The Operating Sustorn § ReiPensible pt Several
} dad
anagement Ackvitier -
Dish For malting
Disk Tniaby chen
Beohig vem Dek
Fed Block Recoveryn 4. ae Bi melting
»(o) Bes pow Dy
: puter to stun, “ie must habe Bo
je Rie to Tatlue ane Called Bad Blchs
} oN Can or fo te each budseches
ment :-
0 ee of Removing a proces tiem
and Shing Into second any He mon
bingy ft back tate Maud manony or conbaued
Swop space Management 8 Another Low Lovel
1 e _ Operetiig syslem
- Pouide the Best TierCi)
i Jdenk4en be ‘ : |
=) Mument characley
he organized %
al 4 ! ie 1
1A He Ba geoupog of Sto’ Roads (a)
Related widermedtion steed JP Aecondary a
Aitnibutes of files ‘
Each le has oe -s Trey a
Beh
31,8 the name of le fle
ty heman Readable ermal: fives cenvonora 70 ol
Pleden te that le
Name :- |
used fo sted fe *
1) ‘)
$k & Ue poder Dhabi! wed 4o
Lesily «portal le; | Readut Seekufg Fe Jaunc
aFle | fimafie| Sofie Deleon | 7 He
eile ant =H relers Lag) aplen be | THB ofeeten
; of} pastiailo! |-to Repestins ann) Crees SOME
Pal Uielys Ay content of
= tile posttens doleled - 2 He a
Peter to oops all
afi
Ais bles
Pe maths
unchanged" ye
STht & the SWoplest melted ameng ‘ys
>The method poems. Paccesnig, i erty |
> only wo Operaltens Read lei) waite & pordurmed
Lb Paocend § etter cfpavand (01) Backword duieckon
Pesitiew.
Rewind a (oD wdte
End
Bespharng
ll Accor method
Diaed Actex :-
| thé methed BF alo called a Realtime Accon
Lo The ~tecerd ton he sod ‘crespec!ve Of theta Sequence
Example :- ef thi ore B the Delabue
indexed Accom.
| Tha 6 an Advancement of the Direct Acces me
| tech 3 Compderalfen of the Sndex :
The xtecord & \Acomed browsuig tHireugh the
and the -fle & Actewed oMeclly Mice of
h
|
|ant }
Wea fe 6 creaed, & f7hy
Wasenled ws the Diecley lable
when & pawtatea ile Karo be delchd,
ik on & delded Age dutedery lable.
Ede can Il the le and otten subdiieelabs
Present ih thet dseclory.
files- The "ame of exishing Ale can be changed
’ by mnedidlytig, 5 Fray th Diedery a
Tite- We con jd a Pontulan ~fle aeTuoo Level Diedlorys-
Tach user & Gy
\UED (uses file Dy ‘
a i) Sf) hore cre
then there wil) be “ph” number of ey a
Decoy (HB)
Master t7lb
Ww
Gg
yen a Seponate AviecttGjagh 6 a Grayh tlh bee,
te diferent diferent Paths:Files
Now com thetblormakion Stoned (B Sorordeny ew or be
uJ collediion o
file System Mounttog 7 File 5 nella] b ce,
flesysharn must be mousted be ne it
A di
v
e fe pnolesss on
Mountiiq & fle stlem attache +
7 Port Ons the, Gaishag Siplen
ry (inount pot) and makes" hu
ler) i Always Mounted:
the system ,
Root (file sph
Any other ~Atesytom Can be Cone
( a
| d
Listonnectal 4m the 36807) fie plan
| Mount Procedure g
) Syshorm 5 ven he name o
» cota Phe Buslig File ssh
be Attached. Ypreally
¢ 6 =
an Empky Tired
om &System poles jh & directory shrecl we
B Mounted al peared al sh
Fle wh Secondary storage
Need fo be mounled
Mount pom Be
Ta Lenwe, fr
marnt ains &
fable called
Se Sane (Ue) Virtual le system Pie
} Cente flesyson and
$04 loc Mount Points. VFs
faltes care of Mowing
unmounted, the Fes ypor id
am bustibg iepei
ie
Uso
fat
(Tee
+ We! Access qhis OWNERS, Gkovps
>We hae nee ty s
Reap, Jerre and Brecut Ponvatsion
Tee onaNen bal the Responsibility of Allocalvig he
Loe and Othen
© Group Mera bes
sors has usee 1S Tdenkly user
Groups hos GirovP 1S Aden lf Uses 5 Group
Remote Mlesyoan
Remote Fe System Mean We Comopas duty Wes
B quotable i Remote Gaiemeys Sn tha stacker, il
=> Vanuaily Via Progam like #1 (file Tansfer ?
~? Using Dishrbuled Fle Sytem
ir via WW
Clron) Seaver Model :- j
“The clénh, Sewer Model & Wed to
Remote File Systenp *,.
eo
impleam Physical DamageWhen a
4
coled andauc tee ra
The Hob lable % Usually Ficed 426 Th
dlepen dont upon the Size of the buhla i
(
be ovexemed by Usity Chaufec QYeN nw
De cn Geerich pest of ‘he opeicting yh
s s Pensbl dor Allowing E-44fefant Keces \o the dk
dake fer shrig ond ah dake fo and pare dish
‘yard file System
A typical Me smn Uses Layered Approach
fach Layer Uses the sesien ofits lowe Lapa
te Perdpan Reqpied Aunctens doe ‘Upper Ladets
logtcab Fle Syshomlo contre! comisk of Device dsttVony c
easing and wrthg special Codes) -
Boric File aoe enrniske OG Work, ia
i and Is Responiible Joe gig i
organization modde Hoops tae
dated with fils :
coh Me Sito manages he
Magee of fenarmes fo feAllocation
vio avianfed i Sequenkiel) blocks of . Mel
He occupres a Conkquow set of bloke hs p
; F ae
_ dyiector 4 entry wath Lontigu av Allocdien contains
5 pddaess of Staing blo ie! gl
> Length of the Allecated Potten |tle Stank end
Advantages:-
Very Hexible
> docene Suffer Apa External Taqtnorlahon
I) edlvantage,: 2
~ decsnet Supper: Random (ex) Dect Access
WBcun Seme Bera Overhead
calfon :-
Spectal box called Thdesc block & Proenl
j 2 al blocks eccupies ch afileAdv antaqes
Ls Suppers Ded Aess
Overcome the Problem of tele Frag ranlaio
gadvanlages:-
Portler overhead & Greaten
thay Libhed Allecalten
Management.
The Syptain Keeps “hark of the
Mako —leuse the Space srelewed yom d
Space List Can be tplemented by
Free disk Hock
oleh Files -The
7 Bik Map (ov) Bit Yector
thhed List
Map ) BikVector :-
fo va Collecven of bi
iskblock . The bil Can takes 2 Voalues-
Ao) thdicates block & Aaeli3 ane
i where each bit Coovespord -