Sponsored Content
Full Discussion: Disk error
Top Forums UNIX for Advanced & Expert Users Disk error Post 35494 by vtran4270 on Tuesday 15th of April 2003 01:20:26 PM
Old 04-15-2003
Disk error

Hi,
I have a Linux - Mandrake box at home that run as a web server and a Internet router. So often to the system after reboot that it come has the messages saying that the hda1 (I think is the root file system) has some inconsitencies and some inodes has to be removed. When the drive is fixed, it has 2% of incontiguous space.
It's the hard drive it self have some kind of problems? If it does, how can I fix it? Is there is any kind of scandisk command (like in Windows) to scan for bad sector on the disk?

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Fatal error in disk

I have a doubt with an error message, and i want to be sure if this is a normal situation or not. Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies

2. AIX

Disk space error.

Dear All, I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved. Thank You.... (9 Replies)
Discussion started by: system-admin
9 Replies

3. Solaris

Disk error

How to Check the disk error (both hard disk & DVD Rom) In Sun Netra 20 Server..Pls help (2 Replies)
Discussion started by: gini
2 Replies

4. Solaris

flarcreate disk error 28

I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left? this is error message absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222 Determining which filesystems will be included in the archive... Creating... (15 Replies)
Discussion started by: 197oo302
15 Replies

5. AIX

Disk operation Error

Hi to all, Hope you can help me to figure out this problem that I have with one of our servers. I get disk errors but I cannot explain the reason why it is happening. Below is the error: Thanks in advance. By the way were using NETAPPS data storage and using 5.3 O.S version. LABEL: ... (1 Reply)
Discussion started by: cabloy
1 Replies

6. Solaris

Solaris disk error

I received a new error that I have not seen before on my Solaris 10 server last night: From /var/adm/messages Jan 8 04:59:26 nediaccomp005j scsi: /pci@780/pci@0/pci@9/scsi@0 (mpt0): Jan 8 04:59:26 nediaccomp005j Log info 31010000c received for target 1. Jan 8 04:59:26 nediaccomp005j ... (4 Replies)
Discussion started by: FredSmith
4 Replies

7. Solaris

I/O Error on SAN Disk

Hi, I have a production solaris 10 SPARC system (portal). Yesterday legato/Networker gave an I/O Error on one of the files on its SAN mounted disk. I went to that particular file on the system, did an ls and it showed the file. However, ls -l did not work and it said IO error. ... (6 Replies)
Discussion started by: Mack1982
6 Replies

8. Solaris

Error 25:Disk Read Error

Hi Guys, Wondering if anyone has seen/has a fix for this, when i try boot my system from CDROM at the solaris/ttya/ttyb selection menu i get stuck in a loop: kernel$ /boot/multiboot kernel/$isadir/unix -B install_media=cdrom,console=ttya loading "/boot/multiboot kernel/$isadir/unix -B... (0 Replies)
Discussion started by: A-Train
0 Replies

9. UNIX for Advanced & Expert Users

Disk I/O error 5

I ran into I/O error (error 5) when copying files. Tried to copy the file in question to the same filesystem and to the different filesystem using cp, copy and tar - same problem, so looks like system could not read the source file. The system SCO OSR 5.0.7 runs under VMWare and the storage is... (6 Replies)
Discussion started by: migurus
6 Replies

10. Solaris

Solaris 8 disk error

Hello, We are running solaris 8 and there is a disk having problem with consistency The following devices (soft partitions from NetApp are inconsistent, unable to be repaired with fsck and need to be restored: root@server1 # df -k Filesystem kbytes used ... (4 Replies)
Discussion started by: gull05
4 Replies
PIVOT_ROOT(8)						       System Administration						     PIVOT_ROOT(8)

NAME
pivot_root - change the root filesystem SYNOPSIS
pivot_root new_root put_old DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details. Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH: cd new_root pivot_root . put_old exec chroot . command Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the root directory of the shell. Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's root or not). OPTIONS
-V, --version Display version information and exit. -h, --help Display help text and exit. EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell: mount /dev/hda1 /new-root cd /new-root pivot_root . old-root exec chroot . sh <dev/console >dev/console 2>&1 umount /old-root Mount the new root file system over NFS from 10.0.0.1:/my_root and run init: ifconfig lo 127.0.0.1 up # for portmap # configure Ethernet or such portmap # for lockd (implicitly started by mount) mount -o ro 10.0.0.1:/my_root /mnt killall portmap # portmap keeps old root busy cd /mnt pivot_root . old_root exec chroot . sh -c 'umount /old_root; exec /sbin/init' <dev/console >dev/console 2>&1 SEE ALSO
chroot(1), pivot_root(2), mount(8), switch_root(8), umount(8) AVAILABILITY
The pivot_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux August 2011 PIVOT_ROOT(8)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy