Nefunkcny mount na sata disku
konkretna chybka :
Error mounting: mount exited with exit code 1: helper failed with:
mount: according to mtab, /dev/sda1 is already mounted on /
mount failed
Ten disk bol predtym v linuxovom stroji takze je mozne ze ma rovnake oznacenie ako hlavny disk a preto sa nemoze pripojit.
prikladam fdisk
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x0891bcfa
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30402 244197376 7 HPFS/NTFS
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
224 heads, 19 sectors/track, 114754 cylinders
Units = cylinders of 4256 * 512 = 2179072 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000001
Device Boot Start End Blocks Id System
/dev/sdb1 88781 114755 55272448 83 Linux
/dev/sdb3 1 88781 188923377 f W95 Ext'd (LBA)
/dev/sdb5 460 88781 187945984 7 HPFS/NTFS
/dev/sdb6 1 460 975872 82 Linux swap / Solaris
Partition table entries are not in disk order
Pre pridávanie komentárov sa musíte prihlásiť.
Ostatne disky idu normalne.
/etc/fstab
a čo vracia príkazdf -h
?# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=385ecae6-bd34-41c3-a524-974b8cd6d17f / ext3 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=c6876978-438f-4a1e-ae53-dacdf22d1e4a none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 rw,errors=remount-ro 0 0
df -h
Súborový systém Size Used Avail Use% Pripojený na
/dev/sda1 52G 4,9G 45G 10% /
tmpfs 2,0G 0 2,0G 0% /lib/init/rw
udev 2,0G 252K 2,0G 1% /dev
tmpfs 2,0G 364K 2,0G 1% /dev/shm
A čo vracia príkaz
sudo file -s /dev/sd*
?sudo file -s /dev/sd*
/dev/sda: x86 boot sector; partition 1: ID=0x7, active, starthead 32, startsector 2048, 488394752 sectors, code offset 0x63
/dev/sda1: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 2048, dos < 4.0 BootSector (0x80)
/dev/sdb: x86 boot sector; partition 1: ID=0x83, starthead 223, startsector 377849856, 110544896 sectors; partition 3: ID=0xf, starthead 107, startsector 2046, 377846754 sectors, code offset 0x63, OEM-ID " м", Bytes/sector 190, sectors/cluster 124, reserved sectors 191, FATs 6, root entries 185, sectors 64514 (volumes <=32 MB) , Media descriptor 0xf3, sectors/FAT 20644, heads 6, hidden sectors 309755, sectors 2147991229 (volumes > 32 MB) , physical drive 0x7e, dos < 4.0 BootSector (0x0)
/dev/sdb1: x86 boot sector, code offset 0x63
/dev/sdb3: x86 boot sector; partition 1: ID=0x7, starthead 122, startsector 1953794, 375891968 sectors; partition 2: ID=0x5, starthead 107, startsector 1, 1951745 sectors, code offset 0x0
/dev/sdb5: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 1955840, dos < 4.0 BootSector (0x80)
/dev/sdb6: Linux/i386 swap file (new style), version 1 (4K pages), size 243967 pages, no label, UUID=985ab59a-28d3-4e67-b8ce-9b6d06c23cc7
# / was on /dev/sda1 during installation
UUID=385ecae6-bd34-41c3-a524-974b8cd6d17f / ext3 errors=remount-ro 0 1
Ten externý disk čo si tam pripojil Ti predbehol pred tým na ktorom máš systém. Takže si vyhoď ten zbytočný posledný riadok a pripoj ten disk ešte raz.
I ked nechapem z akeho dôvodu sa tam ten riadok objavil....
Diky moc mas u mna pivec :-D
Inak, prave rozmyslam nad pivom.
INAK POPROSIM ADMINA NECH TO OZNACI AKO VYRIESENE