ked som sa naposledy pokusal nastartovat Windows vyskocila chyba: Neda se cist disk ...alebo nieco take. Ked som spustil linux (Ubuntu 8.04 HH) po dlhotrvajucej (cca 30 min) kontrole disku, nastaroval v pohodke. Pocas kontroly som sa stretol s hlaseniami typu:
Buffer I/O error on device sda,
ata1.00: status: DRDY ERR
ata1.00: error UNC
atd...Mam dva fyzicke disky: 1.(40G) rozdeleny na dve a) windows(program files atd) b) tiez windovsovsky ntfs ale len na data
2. rozdeleny tiez v podstate na dve pricom na jednej polovici je nahodeny linux a druha je naformatovana na ext3, sluzi ako ulozny priestor.
Z toho co sa deje som usudil ze prvy disk akosi "skapal". Nepodarilo sa mi ho ani namountovat v linuxe:
peter@peter-desktop:/$ sudo mount /media/hda1
[mntent]: warning: no final newline at the end of /etc/fstab
ntfs-3g: Failed to access volume '/dev/disk/by-uuid/AA78EAF878EAC265': No such file or directory
Nevie niekto helpnut ako zachranit aspon data, alebo ho aj celkovo zotavit. Doteraz sa tvaril OK, takze nezda sa mi ze by tak zrazu odisiel. Tuto chybu som si vsimol az potom co som aktualizoval Ubuntu na novu verziu:(, ( ale mohlo sa to udiat aj skor len som si to nevsimol(nechodim casto so win) )
root@peter-desktop:/# fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xac9aac9a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 4865 18595237+ f W95 Ext'd (LBA)
/dev/sda5 2551 4865 18595206 b W95 FAT32
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe4382579
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 12643 101554866 83 Linux
/dev/sdb2 12644 19457 54733455 5 Extended
/dev/sdb5 12644 13036 3156741 82 Linux swap / Solaris
/dev/sdb6 13037 19457 51576651 83 Linux
sudo smartctl -a /dev/sda
peter@peter-desktop:/$ sudo smartctl -a /dev/sda
sudo: smartctl: command not found
hral si uz niekedy karty?
karty ano, iste obdobie castejsie...
smartctl version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda ATA IV family
Device Model: ST340016A
Serial Number: 3HS9XFN9
Firmware Version: 3.19
User Capacity: 40 020 664 320 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun May 25 16:45:23 2008 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
=== 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.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x00) Offline data collection not supported.
SMART capabilities: (0x0000) Automatic saving of SMART data is not implemented.
Error logging capability: (0x00) Error logging NOT supported.
No General Purpose Logging support.
Warning: device does not support Error Logging
SMART Error Log Version: 0
No Errors Logged
Warning: device does not support Self Test Logging
SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
Device does not support Selective Self Tests/Logging
no, zdrzim sa poznamok.
takze prediktivne odhadnutie ci ide disk do kremikoveho neba mas vypnute aj ked to ten disk podporuje. Taketo nieco som za poslednych 10 rokov nevidel, ten smart sluzi na monitoring a predpokladanie zivotnosti. Preco to bolo vypnute uz nehame tak.
Takze ostava odpoved na povodnu otazku:
ak to uz nenamountujes, tak ostava len hranie sa s image disku cez fsck a podobne alebo specializovana firma. to vsak bude asi za peniaze.
inac ten fsck nie je len pre linuxovske filesystemy??
Inac fsck je nielen pre linuxove suborove systemy.
fsck -t ntfs /dev/sda1
no to bude asi na dlhsie....zase neviem co dalej:(fsck 1.40.8 (13-Mar-2008)
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sda1
find /boot/grub/stage1
root (hd0,5) // to mi vyhodil predch. prikaz
setup (hd0,5)
Vsetko prebehlo ok, vypisalo niejake hlasky, ze yes, succeed,. ...Done. Ale aj ked pri nastarovani mam grubovsku ponuku, ked si vyberiem vyhodi ze disk neexistuje. Pozriem do fstab, aj ked nie som si isty co si myse tou zmenou mountpointov....
proc /proc proc defaults 0 0
# Entry for /dev/sdb6 --nove sda1 :
UUID=9043da75-0221-4daa-9910-f0382d501800 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
#UUID=AA78EAF878EAC265 /media/hda1 ntfs-3g defaults,locale=sk_SK.UTF-8 0 0
# Entry for /dev/sda5 :
#UUID=FB75-D62F /media/hda5 vfat defaults,utf8,umask=007,gid=46 0 0
# Entry for /dev/sdb1 --nove sda2 :
UUID=1b7edd48-f70d-fe80-d971-4b237287e030 /media/DataDisk ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sdb5 :
UUID=4e176e6c-41a4-48c7-9fe8-7b1a27cd73f2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
#/dev/sdb1 /media/DataDisk vfat defaults,locale=sk_SK.UTF-8 0 0
a fdisk -l
ubuntu@ubuntu:/media/disk/etc$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe4382579
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12643 101554866 83 Linux
/dev/sda2 12644 19457 54733455 5 Extended
/dev/sda5 12644 13036 3156741 82 Linux swap / Solaris
/dev/sda6 13037 19457 51576651 83 Linux
:Entry for /dev/sdb1 --nove sda2
hm, ty si nieco menil s rozdelenim disku? si mohol povedat. ale k veci, prepis UUID na /dev... aspon pokial si neoveris jeho hodnotu.
ps taky isty problem moze byt aj s swapom.
inak co mas na sda2, rozsirenu oblast v ktorej mas sda5 (swap) a sda6 (root)?
inak, si si isty ze pripajas sda2 a nie sda6? skusim ti povedat tajomstvo. zmenilo sa ti sdb na sda a tak sa zmenil disk /dev/sdb1 na /dev/sda1 a /dev/sdb6 na /dev/sda(hadajkolko).
proc /proc proc defaults 0 0
#Entry for /dev/sda6
UUID=9043da75-0221-4daa-9910-f0382d501800 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
UUID=1b7edd48-f70d-fe80-d971-4b237287e030 /media/DataDisk ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda5 :
UUID=4e176e6c-41a4-48c7-9fe8-7b1a27cd73f2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
UUID diskov sedi som to skontroloval :
ubuntu@ubuntu:/media/disk/etc$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2008-06-01 10:30 1b7edd48-f70d-fe80-d971-4b237287e030 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-06-01 10:30 4e176e6c-41a4-48c7-9fe8-7b1a27cd73f2 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-06-01 10:30 9043da75-0221-4daa-9910-f0382d501800 -> ../../sda6
Spominal si aj grub.conf, ale taka blba otazka , kde ho najst? mal by byt bud v /etc alebo /boot/grub . . . ale ja ho tam naviem najst resp. tam nie je . . . co robim zle?
Dakujem za vas cenny cas....
Ak ma niekto typy na dobry, nehlucny a pritom velmi cenovo vyhodny disk sem s nimi:)
Dakujem za vas cenny cas....
Ak ma niekto typy na dobry, nehlucny a pritom velmi cenovo vyhodny disk sem s nimi:)