פורסם: 09/12/2013 - 09:33
נושא ההודעה: דיסק קשיח לא ניתן לכתיבה למרות שיש הרשאות
|
היי
אשמח לעזרה בבעיה שצצה לי במחשב, יש ברשותי 2 דיסקים קשיחים עם חומרי עבודה, לאחרונה התקנתי את המערכת מחדש ומאז אחד הדיסקים לא ניתן לכתיבה אלא רק לקריאה.
בנוסף כל הפעלה מחדש של המחשב המערכת דורשת סיסמת מנהל כדי לחבר את הדיסקים הקשיחים, הדיסקים נמצאים תחת הרשאות המשתמש שלי, למה נדרשת הרשאות מנהל בשביל זה?
אשמח לכל עזרה בנושא.
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 09:48
נושא ההודעה:
|
שכחת לציין באיזה מערכת הפעלה (הפצה) אתה משתמש.
מה הפלט (כרוט) של cat /etc/fstab?
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 09:54
נושא ההודעה:
|
מערכת Kubuntu גרסה 12:10 אני חושב
KDE 4.11.3
קוד: | $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' 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 nodev,noexec,nosuid 0 0
# / was on /dev/sdb6 during installation
UUID=f18de104-fba2-4cd8-bb59-0a5b748acd14 / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb5 during installation
UUID=946081b7-cc7b-4ae2-9a62-0dc46f9d9a28 /home ext4 defaults 0 2
|
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 09:59
נושא ההודעה:
|
אני אל רשום אז הוא הגיב לי כאורח
כרגע אורח = tr
אני מסתכל עכשיו וזה בעצם אותו דיסק עם 2 מחיצות, מדובר על הדיסק הראשון.
בנוסף שמתי לב שהוא מעגן לי את הדיסקים הקשיחים במערכת לנתיב media/user/
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 10:02
נושא ההודעה:
|
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 10:05
נושא ההודעה:
|
קוד: | $ stat /media/user
File: `/media/user'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 816h/2070d Inode: 1835015 Links: 4
Access: (0750/drwxr-x---) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-12-09 09:58:25.690835485 +0200
Modify: 2013-12-09 09:09:11.217605298 +0200
Change: 2013-12-09 09:09:11.217605298 +0200
Birth: -
|
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 10:55
נושא ההודעה:
|
הדיסק שלך מעוגן עם הפרמטר errors=remount-ro שאומר שאם יש בו שגיאות הוא יעוגן לקריאה בלבד. התר אותו מעיגון, הרץ עליו fsck וכשתעגן מחדש הכל יסתדר.
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 11:56
נושא ההודעה:
|
לולי : | הדיסק שלך מעוגן עם הפרמטר errors=remount-ro שאומר שאם יש בו שגיאות הוא יעוגן לקריאה בלבד. התר אותו מעיגון, הרץ עליו fsck וכשתעגן מחדש הכל יסתדר. |
אני חושב שהפקודה cat /etc/fstab לא הציגה את כל הדיסקים הקשיחים שיש במחשב, היא הציגה רק את אלו שקשורים במערכת כמו סיפריית השורש ותיקיית הבית.
קוד: |
sudo fdisk -l
[sudo] password for user:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x0002f675
Device Boot Start End Blocks Id System
/dev/sda1 * 63 1051084754 525542346 7 HPFS/NTFS/exFAT
/dev/sda2 1051084755 3907024064 1427969655 83 Linux
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x000dd8c2
Device Boot Start End Blocks Id System
/dev/sdb2 2046 871092223 435545089 5 Extended
/dev/sdb3 * 871094272 871299071 102400 7 HPFS/NTFS/exFAT
/dev/sdb4 871299072 976771071 52736000 7 HPFS/NTFS/exFAT
/dev/sdb5 242323456 871092223 314384384 83 Linux
/dev/sdb6 2048 242321407 121159680 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0x0005de4c
Device Boot Start End Blocks Id System
/dev/sdc1 2048 4095999999 2047998976 83 Linux
/dev/sdc2 4096000000 5860532223 882266112 7 HPFS/NTFS/exFAT |
הטעות היתה שלי שחשבתי שמדובר על הדיסק הראשון ברשימה.
שתי המחיצות הבעייתיות הן
/dev/sda2 שמעוגנת ל /media/user/Storage
/dev/sdc1 שמעוגנת ל /media/user/backup
תודה לאורח
נערך לאחרונה על-ידי tr בתאריך 09/12/2013 - 12:29, סך-הכל נערך 2 פעמים
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 12:18
נושא ההודעה:
|
sudo fdisk -l
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 13:09
נושא ההודעה:
|
יש לך שלושה כוננים.
מה הפלט של lsusb?
|
|
חזרה לתוכן הדיון |
פורסם: 09/12/2013 - 13:17
נושא ההודעה:
|
Anonymous : | יש לך שלושה כוננים.
מה הפלט של lsusb? |
יש לי 3 דיסקים קשיחים
אין לי אונקי מחובר אם אתה שואל
|
|
חזרה לתוכן הדיון |
פורסם: 10/12/2013 - 06:52
נושא ההודעה:
|
תדביק את הפלט של mount. זה ירשום את כל מערכות הקבצים שכרגע הם mounted ואת ההגדרות שלהם.
בנוסף אתה יכול לוודא עם hdparm האם הארד דיסקים שלך מוגדרים כ-read only.
|
|
חזרה לתוכן הדיון |
פורסם: 10/12/2013 - 08:22
נושא ההודעה:
|
definex : | תדביק את הפלט של mount. זה ירשום את כל מערכות הקבצים שכרגע הם mounted ואת ההגדרות שלהם.
בנוסף אתה יכול לוודא עם hdparm האם הארד דיסקים שלך מוגדרים כ-read only. |
קוד: |
$ mount
/dev/sdb6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs 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)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb5 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda2 on /media/user/Storage type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdc1 on /media/user/backup type ext4 (rw,nosuid,nodev,uhelper=udisks2 |
|
|
חזרה לתוכן הדיון |
פורסם: 10/12/2013 - 21:25
נושא ההודעה:
|
על פניו הכל נראה תקין. מה הפלט של hdparm /dev/sda2?
בנוסף אני רואה בפלט של mount אצלך שמוגדר לדיסקים הבעייתים uhelper=udisk2. אם אני זוכר נכון זה קשור לכל ה-mount האוטומטי של unity/gnome. כדאי לך לנסות לעשות mount ידנית בלי הדגל הזה ולראות האם זה מתקן את הבעיה.
|
|
חזרה לתוכן הדיון |
פורסם: 10/12/2013 - 23:34
נושא ההודעה:
|
definex : | על פניו הכל נראה תקין. מה הפלט של hdparm /dev/sda2?
בנוסף אני רואה בפלט של mount אצלך שמוגדר לדיסקים הבעייתים uhelper=udisk2. אם אני זוכר נכון זה קשור לכל ה-mount האוטומטי של unity/gnome. כדאי לך לנסות לעשות mount ידנית בלי הדגל הזה ולראות האם זה מתקן את הבעיה. |
קודם כל תודה על הרצון לעזור.
אני עם KDE ולא עם גנום / יוניטי.
בכל אופן יש אפשרות לערוך מסמך כלשהו ושהאוטומטי של KDE יעגן בלי הדגל הזה?
קוד: |
sudo hdparm /dev/sda2
[sudo] password for user:
/dev/sda2:
multcount = 16 (on)
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 177774/255/63, sectors = 2855939310, start = 1051084755 |
|
|
חזרה לתוכן הדיון |
פורסם: 11/12/2013 - 01:32
נושא ההודעה:
|
יכול להיות שאתה לא הבעלים של הדיסק הזה ולכן חסר הרשאת כתיבה.
נסה לכתוב אליו כמנהל וראה אם זה ניתן. אם כן, שנה את את הבעלות במשרד הרישוי
ראה פקודה "chown "
|
|
חזרה לתוכן הדיון |
פורסם: 11/12/2013 - 01:38
נושא ההודעה:
|
אתה גם יכול לתת הרשאות כתיבה לקבוצת ההשתיכות של הבעלים מבלי לשנות בעלות .
ראה פקודה "chmod"
|
|
חזרה לתוכן הדיון |
פורסם: 11/12/2013 - 10:42
נושא ההודעה:
|
אוקי אז הוא נותן עם הroot לכתוב לדיסק אבל באיטיות משגעת, יכול להיות שיש לי בעיה בדיסק ולכן כל השיגעון?
איך אפשר לבדוק אם הדיסק תקול?
|
|
חזרה לתוכן הדיון |
פורסם: 11/12/2013 - 11:24
נושא ההודעה:
|
קוד: | sudo smartctl -a /dev/sda | less |
שנה את "sda" לכונן שאתה רוצה לבדוק.
|
|
חזרה לתוכן הדיון |
פורסם: 12/12/2013 - 01:09
נושא ההודעה:
|
בסופו של דבר גיביתי את כל המחיצה ופרמטתי אותה לEXT4 חדשה, אני מנסה להכנס למחיצה המערכת כמובן מבקשת סיסמת מנהל, אבל בכל אופן היא לא מצליחה להתחבר, זה הפלט שאני מקבל
קוד: |
An error occurred while accessing 'Storage', the system responded: The requested operation has failed: Error mounting /dev/sda2 at /media/user/Storage: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda2" "/media/user/Storage"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so |
וזה הפלט של dmesg | tail
קוד: |
[202667.780427] CPU3: Core temperature above threshold, cpu clock throttled (total events = 597961)
[202667.781463] CPU3: Core temperature/speed normal
[202745.894324] JBD2: no valid journal superblock found
[202745.894329] EXT4-fs (sda2): error loading journal
[202892.103295] CPU2: Core temperature above threshold, cpu clock throttled (total events = 763537)
[202892.106391] CPU2: Core temperature/speed normal
[202899.508311] CPU1: Core temperature above threshold, cpu clock throttled (total events = 603209)
[202899.514456] CPU1: Core temperature/speed normal
[202901.211460] CPU0: Core temperature above threshold, cpu clock throttled (total events = 792131)
[202901.212491] CPU0: Core temperature/speed normal
|
בקשר לבדיקת השגיאות בדיסק עוד לא הבנתי איך אני מסתכל על הפלט ואם אני בכלל עובד עם הפקודה נכון.
קוד: |
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda Green (Adv. Format)
Device Model: ST2000DL003-9VT166
Serial Number: 5YD57AJW
LU WWN Device Id: 5 000c50 03d70f97d
Firmware Version: CC32
User Capacity: 2,000,398,934,016 bytes [2.00 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 4
Local Time is: Thu Dec 12 01:11:12 2013 IST
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: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 41) The self-test routine was interrupted
by the host with a hard or soft reset.
Total time to complete Offline
data collection: ( 623) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 255) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x30b7) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 118 099 006 Pre-fail Always - 74344
3 Spin_Up_Time 0x0003 092 092 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 420
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 067 060 030 Pre-fail Always - 25807016095
9 Power_On_Hours 0x0032 090 090 000 Old_age Always - 9553
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 419
183 Runtime_Bad_Block 0x0032 001 001 000 Old_age Always - 23873
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 099 061 000 Old_age Always - 21475164559
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 064 047 045 Old_age Always - 36 (Min/Max 31/41)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 118
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 420
194 Temperature_Celsius 0x0022 036 053 000 Old_age Always - 36 (0 16 0 0)
195 Hardware_ECC_Recovered 0x001a 033 006 000 Old_age Always - 74344
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 182 000 Old_age Always - 23946
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 44474386359672
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 3678941239
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1471744744
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Interrupted (host reset) 90% 9545 -
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.
|
תודה לכל העוזרים והמסייעים.
|
|
חזרה לתוכן הדיון |
פורסם: 12/12/2013 - 17:57
נושא ההודעה:
|
קוד: | === START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED |
הדיסק תקין.
אתה פירמטת את הדיסק של 2 טרה sda, שעליו הלינוקס הייתה מותקנת.
למה יש לך מחיצות לינוקס על כל הדיסקים? למה יש לך כל כך הרבה דיסקים על המחשב?
איך אתה מתקין? התקנה אוטומטית? או ידנית?
איפה אתה רוצה להתקין לינוקס? על איזה דיסק?
|
|
חזרה לתוכן הדיון |
פורסם: 12/12/2013 - 18:15
נושא ההודעה:
|
קוד: | אתה פירמטת את הדיסק של 2 טרה sda, שעליו הלינוקס הייתה מותקנת. |
תיקון
הלינוקס מותקנת על sdb - הכונן של ה-500ג'.
|
|
חזרה לתוכן הדיון |
|