Näytä kirjoitukset

Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.


Aiheet - rassi

Sivuja: [1]
1
Tuli todettua, että minullahan alkaa RAID5 pakan levyjen oisot ihan väärästä kohdasta ja tällä voi olla ilmeisesti suurikin(?) vaikutus
suorituskykyyn?

Onko muuta vaihtoehtoa lähteä noita "aligmenttejä" korjaamaan kuin nollista lähtö?
Ehkä poistamalla yhden levyn pakasta, formatoimalla sen oikein ja lisäämällä sen sitten takaisin?
Aikaahan tuossa menee, kun joutuu 1 kerrallaan ne poistamaan pakasta ja lisäämään takaisin.. Onko nopeampaa turvallista
vaihtoehtoa?
Dataa on noin 7TB tuossa pakassa tällä hetkellä.

Partition 1 does not start on physical sector boundary. antaa fdisk kolmelle levylle.


Ubuntu 14.04
RAID5 (mdadm)
LVM & XFS on systeeminä.
4x WD Red 4TB levyt pelkästään datalle, käyttis omalla levyllään.

fdisk kertoo seuraavaa, ensin /dev/sde, joka näyttääkin olevan ainoa  kunnossa oleva.

Koodia: [Valitse]
@nassi:~$ sudo fdisk -lu /dev/sde

Disk /dev/sde: 4000.8 GB, 4000787030016 bytes
90 heads, 3 sectors/track, 28940878 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x4d9d9de8

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1            2048  4294967294  2147482623+  fd  Linux raid autodetect


Muut 3 levyä ovatkin sitten näin, alkavat sektorista 1... eikä 2048. Olen alkuperäisessä asennuksessa jotain
mokannut tietämättömyyttäni, että formatointi on tullut noin.

Koodia: [Valitse]
@nassi:~$ sudo fdisk -lu /dev/sdf

WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdf: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Tämän hetkinen suorituskyky, jonka sain tämä scriptin avulla:
http://ubuntuforums.org/showthread.php?t=1494846

Koodia: [Valitse]
@nas:/mnt/data/testi# sync; dd if=/dev/zero of=/mnt/data/testi/file.out bs=1M count=4096; sync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 18.2101 s, 236 MB/s


Koodia: [Valitse]
@nas:/mnt/data/testi# dd if=/mnt/data/testi/file.out of=/dev/null bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 14.26 s, 317 MB/s

Asetuksien ollessa nämä:

Koodia: [Valitse]
echo 16384 > /sys/block/md0/md/stripe_cache_size
blockdev --setra 64 /dev/sd[cfde]
blockdev --setra 2048 /dev/md0
echo 512 > /sys/block/sdc/queue/max_sectors_kb
echo 512 > /sys/block/sdf/queue/max_sectors_kb
echo 512 > /sys/block/sdd/queue/max_sectors_kb
echo 512 > /sys/block/sde/queue/max_sectors_kb

Tuota ennen oli kirjoitus 123 MB/s ja luku 292 MB/s

PS. Rautalangan käyttö ehjäykseen on täysin sallittua :)

2
SMART testejä en saa menemään läpi, kun tulee tuo read failure vastaan. Kuinka saan reallocoitua tuon blockin?

Saisin vähän paremmin varmuutta, että onko levyllä vain yksittäinen bad block vai onko koko levy laukeamassa. Tietysti olisi myös kiva tietää, että mikä tiedosto tuolla sijaitsee.

Ubuntu 12.04
RAID5
LVM2
XFS

Koodia: [Valitse]
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       20%     17859         684609913
# 2  Extended offline    Completed: read failure       90%     17843         684609913
# 3  Short offline       Completed: read failure       20%     17843         684609913
# 4  Extended offline    Aborted by host               90%     17750         -
# 5  Extended offline    Aborted by host               90%     17750         -

Koodia: [Valitse]
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63  2930272064  1465136001   fd  Linux raid autodetect

Kaikki SMART tiedot:
Koodia: [Valitse]
sudo smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-24-generic-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F2 EG
Device Model:     SAMSUNG HD154UI
Firmware Version: 1AG01118
User Capacity:    1,500,301,910,016 bytes [1.50 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3b
Local Time is:    Mon Sep  3 09:49:05 2012 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 114) The previous self-test completed having
                                        the read element of the test failed.
Total time to complete Offline
data collection:                (19602) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 255) minutes.
Conveyance self-test routine
recommended polling time:        (  34) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   096   051    Pre-fail  Always       -       192
  3 Spin_Up_Time            0x0007   072   072   011    Pre-fail  Always       -       9240
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       63
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   100   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   015    Pre-fail  Offline      -       13510
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       17861
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       63
 13 Read_Soft_Error_Rate    0x000e   100   096   000    Old_age   Always       -       191
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       2
184 End-to-End_Error        0x0033   100   100   000    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       1049
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   068   044   000    Old_age   Always       -       32 (Min/Max 28/32)
194 Temperature_Celsius     0x0022   067   043   000    Old_age   Always       -       33 (0 33 33 28)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       1595585
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   099   000    Old_age   Always       -       20
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 11 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 11 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 0d 34 a5 e7  Error: UNC at LBA = 0x07a5340d = 128267277

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 07 34 a5 e7 08   9d+10:50:03.600  READ DMA
  ec 00 00 00 00 00 a0 08   9d+10:50:03.570  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08   9d+10:50:03.570  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 08   9d+10:50:03.570  IDENTIFY DEVICE

Error 10 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 0d 34 a5 e7  Error: UNC at LBA = 0x07a5340d = 128267277

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 07 34 a5 e7 08   9d+10:50:01.830  READ DMA
  c8 00 08 ff 33 a5 e7 08   9d+10:50:01.830  READ DMA
  c8 00 08 f7 33 a5 e7 08   9d+10:50:01.830  READ DMA
  c8 00 08 ef 33 a5 e7 08   9d+10:50:01.830  READ DMA

Error 9 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 c1 e4 d9 e1  Error: UNC at LBA = 0x01d9e4c1 = 31057089

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 bf e4 d9 e1 08   9d+09:42:19.080  READ DMA
  ec 00 00 00 00 00 a0 08   9d+09:42:19.060  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08   9d+09:42:19.060  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 08   9d+09:42:19.050  IDENTIFY DEVICE

Error 8 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 c1 e4 d9 e1  Error: UNC at LBA = 0x01d9e4c1 = 31057089

  Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 bf e4 d9 e1 08   9d+09:42:16.020  READ DMA
  ec 00 00 00 00 00 a0 08   9d+09:42:16.000  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08   9d+09:42:16.000  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 08   9d+09:42:15.970  IDENTIFY DEVICE

Error 7 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 c5 e4 d9 e1  Error: UNC at LBA = 0x01d9e4c5 = 31057093

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 bf e4 d9 e1 08   9d+09:42:12.220  READ DMA
  c8 00 08 b7 e4 d9 e1 08   9d+09:42:12.220  READ DMA
  c8 00 08 af e4 d9 e1 08   9d+09:42:12.220  READ DMA
  c8 00 08 a7 e4 d9 e1 08   9d+09:42:12.220  READ DMA
  c8 00 08 9f e4 d9 e1 08   9d+09:42:12.220  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       20%     17859         684609913
# 2  Extended offline    Completed: read failure       90%     17843         684609913
# 3  Short offline       Completed: read failure       20%     17843         684609913
# 4  Extended offline    Aborted by host               90%     17750         -
# 5  Extended offline    Aborted by host               90%     17750         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

3
Meneekö hirveäksi säätämiseksi tällainen operaatio, mistä lähteä liikkeelle?

Käytössä kaksi nettiyhteyttä ja tarkoitus laittaa ne molemmat palvelimen käyttöön, niin että toinen nettiyhteys on vain tiettyjen haluttujen palveluiden käytössä.
Palvelut olisivat auki Internetin suuntaan, sisäverkostakin pitäisi näihin kyllä päästä suoraan käsiksi. Toinen nettiyhteys ei ole kovin vakaa, tulee isompia ja pienempiä katkoksia, joten sen takia "elintärkeät" palvelut pitäisi saada tuon vakaan nettiyhteyden taakse. Yksi vaihtoehto olisi vaihtaa reititin sellaiseen, jolla saisi DD-WRT:n avulla fail safen toisella nettiyhteydellä, mutta tuo sitten taas ei auttaisi ihan pieniin katkoksiin, ainoastaan jos yhteys lähtee kokonaan alta. Nykyinen reititin ei tue tuota ominaisuutta DD-WRT:n kanssa.

Verkko näyttäisi jokseenkin tältä:

Tällä hetkellä NIC 1 on tyhjänä ja tuo ADSL 1 on toimettomana. Serverissä Ubuntu 10.04 LTS




Tokihan jonkinlainen virtualisointikin olisi tuon serverin sisällä mahdollista, siitä vielä vähemmän itselläni kokemusta :)

4
Ubuntu 10.04LTS
FreeNX etäkäyttö siihen.

Pitäisi saada ajettua ajastettuna ohjelmaa, joka on xmacroplay, joka emuloi hiirtä ja näppäimiä GUI:ssa.

Miten saan ajettua tuon xmacroplayn SSH:n yli eli käytännössä pitäisi saada se croniin.
Nyt se onnistuu vain jos on myös FreeNX käynnissä, jos FreeNX:n sulkee ja vaikka sessio jää koneelle käyntiin, niin homma ei onnistu. Jotain tekemistä resoluution kanssa, koska hiiren kaipaamat paikat on eri paikoissa?

Kokeilin sokkona myös Xvbs:ssää ilman sen parempaa onnistumista...

X:ssä on FreeNX:llä 1920x1080 reso, että homma toimii.


Koodia: [Valitse]
$ Xvfb :2 -screen 0 1920x1080x16 &
xmacroplay ":2.0" < testi.macro

Lähtee sitä tekemään, mutta tarvittavaa ei levylle tallennu, ilmeisesti juuri resosta kiinni, ettei hiiri osu oikeisiin paikkoihin. Tuota kun en pääse katsomaan, että minne hiiri osuu.

Sama homma komennolla
Koodia: [Valitse]
xvfb-run xmacroplay ":2.0" < testaus33.macro

5
Eilen tuli sopivassa välissä sähkökatkos ja RAID5 pakan rakentaminen jäi kesken, jos
tuota olisi voinut vielä jatkaa tuosta katkos kohdasta, niin sen voi unohtaa, sen verran tullut temppuiltua eri komennoilla.

Alusta pitäisi siis aloittaa. linux.fi / LVM + RAID ohjeella tehnyt.

 Ongelma on tämä.

Koodia: [Valitse]
:~$ sudo mdadm --verbose --create /dev/md0 --level 5 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 64K
mdadm: Cannot open /dev/sdc1: Device or resource busy
mdadm: create aborted

Tuota sdc1 levyä ei ole mountattu

Koodia: [Valitse]
$ mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/juha/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=juha)


fdisk -l näyttää seuraavaa

Koodia: [Valitse]
Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc98f4609

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc6cfb69d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   fd  Linux raid autodetect


dmesg:

Koodia: [Valitse]
$ dmesg | grep sdc
[    1.399263] sd 1:0:0:0: [sdc] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[    1.399437] sd 1:0:0:0: [sdc] Write Protect is off
[    1.399446] sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    1.399544] sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.400991]  sdc:
[    1.410194] sd 1:0:0:0: [sdc] Attached SCSI disk
[  107.397909]  sdc: sdc1
[  107.484371] md: bind<sdc1>

Kesken jääneen poisto sanoo SDC levyllä näin, muille levyille tuo taisi mennä heti läpi

Koodia: [Valitse]
$ sudo mdadm --zero-superblock /dev/sdc1
mdadm: Couldn't open /dev/sdc1 for write - not zeroing

Olen apt-get removela ottanut mdadm ja lvm2 pois ja laittanut mdadm:n pois.


6
Ubuntu tietokoneissa / Kuinka kauan rezissä voi mennä?
« : 07.08.10 - klo:18.32 »
Paniikki alkaa kalvamaan,

1.5TB levy, jossa oli 69GB käyttis ja swapit sun  muut muualla,
Laitoin gpartedilla käyttis osion pienentymään 20GB:hen ja kone on ruksuttanut nyt noin 12 tuntia shrinkiä.
Onko aihetta huoleen?

Kone on Athlon64 jotain megahertsiä.


7
Tarkoitus olisi tehdä uusi NAS + muu palvelin ja siirtää nykyinen AMD pohjainen Ubuntu asennus Atom
pohjaiseen systeemiin, tuossa ei pitäisi olla hirveämpi ongelmia, suht kivuttomasti Intel -> AMD muunnos tapahtui viimeksi, mutta se askarruttaa että hyödyt/haitat siitä, että missä varsinainen järjestelmä sijaitsee?

Kannattaako käyttis siis laittaa erilliselle levylle vai samaan RAID5 pakkaan kuin minne itse säilöttävä datakin tulee?
Todennäköisesti värkkiin tulee 4-5kpl 1.5TB levyjä ja käyttis sitten alkuun 2.5" kannettavan levylle, jossain vaiheessa tuota varten varmaan tulee hommattua SSD, kunhan hinnat tippuvat. Tuo siis siinä tapauksessa, että se on järkevämpi laittaa erilliselle levylle.

8
Serveri kyykkäsi ja tuli vaihdettu kokonaan toiseen rautaan, muuten pikaisella testauksella systeemi
toimii, mutta verkkoa en saa pelaamaan sitten millään.
Tuli paria muutakin rautaa jo testattua :)

Intelistä -> AMD:hen oli vaihto ja Ubuntuna tuo tuorein tulokas.
Emojen integroitujen verkkokorttien lisäksi testasin 3COM:n PCI korttia.

Nämä tajusin katsoa, enkä itse näe mitään outoa..

Emona tällä hetkellä Asus A7N8X-E Deluxe

ifconfig:
Koodia: [Valitse]
eth3      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:85  
          inet addr:192.168.1.26  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:a6ff:fe0c:1c85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3736 (3.7 KB)  TX bytes:9090 (9.0 KB)
          Interrupt:22 Base address:0xc000

dmesg kun verkkopiuhan ottaa irti ja laittaa takaisin
Koodia: [Valitse]
[  497.553426] eth3: link down.
[  507.633092] eth3: link up.

lspci
Koodia: [Valitse]
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
01:04.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)

DHCP on päällä ja ainakin tuon ifconfigin mukaan IP tulee koneelle ihan oikein.

Missä siis vika?

9
Ominaisuus vaiko bugi, pääseekö jotenkin eroon?

Ubuntu 9.10 ja sen vakio remote desktop (vino), kun siihen ottaa etäyhteyden Windows koneelta UltraVNC:llä ja kun remote desktop on auki ja haluaa kopioida tekstiä CTRL-C, niin Vino kuolee.
Tuohan on ainakin terminaalissa kesketytys, mutta näin windows ihmisenä tulee tuota aina painettua..

Tuon jälkeen ainoat (?) konstit Vinon herättämiseen on ollut, joko koneen buuttaus SSH:n yli tai sitten
tälläiset loitsut SSH:n yli.

1. SSH yhteys koneeseen
2. sudo -s
3. export DISPLAY=:0.0
4. xhost +
5. exit
6. export DISPLAY=:0.0
7. /usr/lib/vino/vino-server

10
Asentelin tuon Ubuntu 8.10 ja sitten Samban sivuilta löytyvillä ohjeilla, homma toimi aluksi Ok, mutta nyt lopettanut toimintansa. Varmaan olen jotain mennyt muuttamaan, mutta mitä :)

Jakoja ei näy Windows koneelta eikä Windows kone näe
Ubuntun jakoja. Koneet ovat sisäverkossa 192.168.1.x osoitteissa
Mistä lähteä tuota ongelmaa paikallistamaan?

Pingit, VNC yms toimii kyllä koneiden kesken.

:~$ smbclient -L workgroup
Connection to workgroup failed (Error NT_STATUS_BAD_NETWORK_NAME)


Testparm antaa seuraavaa, noiden pitäisi olla ihan oikein?

Koodia: [Valitse]
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Processing section "[KotiNAS]"
Processing section "[KotiNAS2]"
Processing section "[Dreambox]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        server string = %h server (Samba, Ubuntu)
        interfaces = 192.168.1.0/24, eth0
        bind interfaces only = Yes
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = tdbsam
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:                                                                                                                               * %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[KotiNAS]
        comment = KotiNAS - Data
        path = /media/public
        read only = No
        guest ok = Yes

[KotiNAS2]
        comment = KotiNAS - Data 2
        path = /media/public2
        read only = No
        guest ok = Yes

[Dreambox]
        comment = Dreambox - Tallenteet
        path = /media/public/dreambox
        read only = No
        guest ok = Yes

Palomuuria ei ole Linux koneessa eikä Windows koneessa.

11
Ajattelin päästä helpolla ja käytin Gparted työkalua, kun piti ottaa isosta partitiosta pienempi osa erilleen, nyt se on samassa kohdassa ruksuttanut jo melkein vuorokauden ja ilmeisesti on jämähtänyt file systeemin tarkistukseen, voiko tuon canceloida rauhassa, ettei levy ole niin sekaisin, että sieltä ei tavaraa saa talteen vai mitä on tehtävissä, että vielä saan tuolta levyltä datan talteen?

Levy tuntuu hieman vieläkin ruksuttavan, vaikka ei tuo tunnu etenevän.
Kiintolevy oli ulkoinen 320Gb ja siellä oli tavaraa noin 160Gb, file systeeminä EXT3

Alla olevassa linkissä screenshotti, että missä mennään:
http://img84.imageshack.us/my.php?image=22438225su3.jpg


En tiedä onko näistä jotain apua johonkin:

Koodia: [Valitse]
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

12200 root      15   0  171m  65m  11m R 10.3 14.9 130:55.82 gparted
12344 root      34  19 52852  48m  528 R  9.6 11.1 129:33.74 e2fsck

Sivuja: [1]