Peri HDA , HDA1 .......

Alexios Chouchoulas alexios at vennea.demon.co.uk
Mon Mar 3 00:59:20 EET 1997


> Apo auth th domh to mono anagkaio kai sigouro einai to
> prwto dhladh h <Suskeuh> afou ola ta upoloipa mporoun na
> tautizontai me authn.
>
> Gia paradeigma sto modem ola ta merh tou dendrou tautizontai
> me thn suskeuh </dev/ttyS0>
>
> Ston disko, loipon, h dendrikh auth domh anaptysetai plhrws.
> Omws an alla3eis ta xarakthristika tou epikefalhs epipedou
> tote automata allazoun ta xarakthristika olhs ths domhs.
>
> Gia paradeigma :
> </dev/hda>       -----> 1os IDE Diskos  (tou prwtou IDE controller)
> |
> - </dev/hda1>  ------> Prwth partision tou prwtou IDE diskou
>    |
>    - < />              ------> Suntomografia ths prwths partision kai Basiko
>      |
>      -<tmp>       ------>  Ypokatalogos
>         |
>         -<to_arxeio>  ----> Ena arxeio


  Den se katalabainw... To Unix den xeirizetai tis syskeves tou etsi. Oute
kan moiazei o tropos xeirismou. Den ginetai pouthena kapoio "expansion" apo
/tmp/to_arxeio se /dev/hda1/tmp/to_arxeio. Oxi opws to les, toulaxiston.

  Ontws briskoume prwta to apolyto onoma tou arxeio. Ontws koitame sto mtab
(sth mnhmh fysika, oxi sto disko) gia na broume se poia syskevh einai to
arxeio. Meta omws pername mesa apo to VFS kai zhtame access sto arxeio. Apo
kei kai pera den mas noiazei ti ginetai, alla to VFS milaei sto E2FS h
opoiodhpote allo FS xrhsimopoioume kai h prosbash einai apeftheias sto
disko, oxi se kapoio allo directory structure...

  Ektos ki an prospatheis na peis kati allo, opote dhlwnw thn agnoia mou kai
zhtaw perissoteres plhrofories. :-)


> 1.)To hda1 exei plhrofories gia ta xarakthristika ths partision kai epomenws
> einai ane3arthth ths fusikhs sukeuhs.
> Etsi otan alla3a to sda se hda den htan anagkh na alla3w kai to
> hda1 afou auto periexei swstes plhrofories ( epeidh to xameno
> to programma egkatastashs katalabe ton scsi disko san IDE
> kai "egraye"  tis plhrofories gia thn partition sto /dev/hda1)

  Synexizw na mhn katalabainw. Ksereis panw katw ti einai ta device
major/minor numbers? An ta arxeia /dev/soupitsa kai /dev/keftedaki exoun ta
idia major/minors, tote einai AKRIBWS to idio device. Dokimase to. man
mknod.

  TO /dev/hda1 DEN exei plhrofories gia ta xarakthristika tou partition,
ektos ki an eixes kanena periergo atyxhma me to fdisk(1). To partition table
einai sto prwto POSIX block (IDE sector, 512 bytes) tou /dev/hd?. An
allakses to sda se hda, ti major/minor exoun ta sda*, hda* devices? Mporeis
na kaneis ena ls -la? Ap'oti kserw, ena mv(1) den allazei to device, mono to
onoma tou.


> 2) Katalabainoume giati einai pio grhgorh h egrafh se mounted
> file sustem apo oti se kanoniko directory ( ena bhma ligotero)
> p.x. /proc  /swap e.t.c

  Pws mporeis na grapseis se "kanoniko directory" an den einai mounted? To
swap space den einai directory, einai partition h file. Mhpws prospatheis na
sygkrineis thn apeftheias prosbash sto disko kai thn prosbash sto disko mesw
enos FS? An nai, ontws h prwth methodos einai pio grhgorh. Alla sth defterh
periptwsh YPARXEI FS (to procfs), kai den yparxei diskos (ta periexomena tou
/proc ta ftiaxnei o kernel, den einai grammena kapou sto disko sou).


> 3) Katalabainoume giati ena susthma me duo diskous twn
> 500Mb enai pio grhgoro apo ena susthma me enan disko tou 1Gb

  Afto symbainei epeidh dyo diskoi twn 500Mb mporoun na diabasoun taftoxrona
1024 bytes th fora anti gia 512 bytes th fora... Alla synexizw na mhn
katalabainw... Argh.


> Se duo diskous mporei na exoume tautoxronh diekpairewsh afou
> ta aithmata apeu8unontai  se duo diaforetikes suskeues
> An malista einai kai SCSI tote h taxuthta diaforopoieitai dramatika
>

> [ Istoriko :
> Megalh egkatastash.
> Unix - 486 sta 25 - 8 Mb Ram - 1Gb se 2 Diskous - 32 Users
> To susthma einai sxedon nekro otan oi xrhstes douleuoun.
> Anagkazomaste na baloume disko kai anti gia enan topo8etw
> 3 diskous twn 500 Mb kai spaw se autous tis efarmoges.
> To susthma ginetai 3afnika upoferto.
> *Eutuxws autes tis meres alla3an Server*
> ]

  Afto einai aplo. Exete eksairetika disk intensive efarmoges kai ligh mnhmh
(8 MB gia 32 xrhstes einai mallon ligo atyxes). Yphrxe para poly disk
access, alla oi diskoi htan sto idio IDE bus, swsta? An baleis tous diskous
se diaforetika IDE buses, mporoun na doulevoun taftoxrona (alliws mono enas
mporei na xrhsimopoiei to bus ana pasa stigmh). Afto gia IDE, fysika. To
SCSI symperiferetai pio grhgora, alla kai afto exei problhmata ths idias
fyshs.

Alexios Chouchoulas          '88    ,88'   ,88'     alexios at vennea.demon.co.uk
The Unpronouncable One      ,o88oooo88ooooo88oo,              axc at dcs.ed.ac.uk
==================================================================
For help on using this list (linux-greek-users), send a message to
"majordomo at argeas.argos.hol.gr" with one line of text: "help".
For any problem send e-mail to owner-linux-greek-users
==================================================================



More information about the Linux-greek-users mailing list