Sponsored Content
Operating Systems Linux root filesystem goes readonly Post 302562611 by Corona688 on Friday 7th of October 2011 12:00:41 PM
Old 10-07-2011
What is your disk device? Some flash devices have a 'read only' tab.

Also, check your dmesg. Disk errors can force a filesystem to go read-only.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mounted Root Filesystem

In my Solaris 10 based server, I have noticed the following mounts when a use DF -K /dev/dsk/c0t0d0s0 5062414 3213876 1797914 65% / / 5062414 3213876 1797914 65% /net/se420 I understand the first mount because it appears in my vfstab file and is the mount of root that I would expect.... (1 Reply)
Discussion started by: jimthompson
1 Replies

2. Linux

/root filesystem size is full

hi in my server ( / ) root filesystem size is full how to reduce the size and what are the files i want to remove. i need answer for linux and AIX also. (6 Replies)
Discussion started by: chomca
6 Replies

3. Solaris

Move root filesystem to other slice

Hi, df -h display: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 9.8G 8.1G 1.7G 84% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab fd 0K 0K 0K 0% /dev/fd swap 1.0G 152K 1.0G 1% /var/run swap 1.1G 24M 1.0G 3% /tmp /dev/dsk/c1t0d0s3 57G 13G 43G 24%... (4 Replies)
Discussion started by: lamoul
4 Replies

4. Solaris

Root Filesystem

Hi, Can we install root file system on other than 0th slice???? (5 Replies)
Discussion started by: tirupathiraju_t
5 Replies

5. UNIX for Dummies Questions & Answers

Root filesystem filling up!

Hi all. New to the forum and new to Unix admin... / filesystem filled up and I can't find where the large files are. Any help will be apppreciated: # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c1t0d0s0 8063580 7941745 41200 100% / /proc ... (4 Replies)
Discussion started by: jamie_collins
4 Replies

6. Linux

Encrypt already install root filesystem

All, Is there a way to encrypt my Ubuntu root HD after installation? (1 Reply)
Discussion started by: markdjones82
1 Replies

7. Solaris

Resizing the Root Filesystem

Is it possible to increase the root filesystem size without reboot ?? (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

8. Red Hat

Root Access not working as FileSystem in ReadOnly Mode

Hi Experts I am facing a problem wherein Root Access not working as FileSystem in ReadOnly Mode. Due to a Disk failure, my Filesystem went into Read-Only mode: report@xx> grep root /proc/mounts /dev/root / ext3 ro,data=ordered 0 0 Now, I am not able to login using root user on the... (5 Replies)
Discussion started by: navkanwal
5 Replies
LIBBLKID(3)                                                     Programmer's Manual                                                    LIBBLKID(3)

NAME
libblkid - block device identification library SYNOPSIS
#include <blkid.h> cc file.c -lblkid DESCRIPTION
The libblkid library is used to identify block devices (disks) as to their content (e.g. filesystem type) as well as extracting additional information such as filesystem labels/volume names, unique identifiers/serial numbers. A common use is to allow use of LABEL= and UUID= tags instead of hard-coding specific block device names into configuration files. The low-level part of the library also allows to extract infomation about partitions and block device topology. The high-level part of the library keeps information about block devices in a cache file /etc/blkid.tab and is verified to still be valid before being returned to the user (if the user has read permission on the raw block device, otherwise not). The cache file also allows unprivileged users (normally anyone other than root, or those not in the "disk" group) to locate devices by label/id. The standard loca- tion of the cache file can be overridden by the environment variable BLKID_FILE. In situations where one is getting information about a single known device, it does not impact performance whether the cache is used or not (unless you are not able to read the block device directly). The high-level part of the library supports two methods to evaluate LABEL/UUID. It reads information directly from a block device or read information from /dev/disk/by-* udev symlinks. The udev is preferred method by default. If you are dealing with multiple devices, use of the cache is highly recommended (even if empty) as devices will be scanned at most one time and the on-disk cache will be updated if possible. In some cases (modular kernels), block devices are not even visible until after they are accessed the first time, so it is critical that there is some way to locate these devices without enumerating only visible devices, so the use of the cache file is required in this situa- tion. CONFIGURATION FILE
The standard location of the /etc/blkid.conf config file can be overridden by the environment variable BLKID_CONF. The following options control the libblkid library: SEND_UEVENT=<yes|not> Sends uevent when /dev/disk/by-{label,uuid}/ symlink does not match with LABEL or UUID on the device. Default is "yes". CACHE_FILE=<path> Overrides the standard location of the cache file. This setting can be overridden by the environment variable BLKID_FILE. Default is /etc/blkid.tab. EVALUATE=<methods> Defines LABEL and UUID evaluation method(s). Currently, the libblkid library supports "udev" and "scan" methods. More than one meth- ods may be specified in a comma separated list. Default is "udev,scan". The "udev" method uses udev /dev/disk/by-* symlinks and the "scan" method scans all block devices from the /proc/partitions file. AUTHOR
libblkid was written by Andreas Dilger for the ext2 filesystem utilties, with input from Ted Ts'o. The library was subsequently heavily modified by Ted Ts'o. The low-level probing code was rewritten by Karel Zak. FILES
/etc/blkid.tab caches data extracted from each recognized block device /etc/blkid.conf configuration file AVAILABILITY
libblkid is part of the util-linux package since version 2.15 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. COPYING
libblkid is available under the terms of the GNU Library General Public License (LGPL), version 2 (or at your discretion any later ver- sion). SEE ALSO
blkid(8) findfs(8) util-linux May 2009 LIBBLKID(3)
All times are GMT -4. The time now is 09:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy