Sponsored Content
Operating Systems Linux Fedora Read only disks on Linux system Post 302391716 by pludi on Tuesday 2nd of February 2010 09:28:32 AM
Old 02-02-2010
If the disk has I/O errors, shouldn't you be more concerned with repairing/recovering that, instead of doing a (possibly dangerous) write operation?

But if you really want to go through with it:
Code:
mount -oremount,rw /path/to/disk

should mount the device in read/write mode. However, should you lose data due to that, neither I nor the UNIX and Linux Forums can be held liable.
 

10 More Discussions You Might Find Interesting

1. HP-UX

donation on hpux system admin cbt disks

Does anyone has a CBT diskett on HPUX admin that you want to donate or sell for $50. I"m a newby admin in need of assistant... thanks..all :( (0 Replies)
Discussion started by: hpux2006
0 Replies

2. AIX

system disks on aix 5.3

hello i'm running on P570 box aix 5.3 8 cpus 24G ram there are 1850 users loged in to this box the problem is that the two sysytem disks busy all the time hdisk0 100% busy hdisk1 100% busy some one have an idea what writing to this disks? thanks ariec (9 Replies)
Discussion started by: ariec
9 Replies

3. Linux

Read data of a page frame (linux) make freeze the system

Hello, I'm writing a linux driver that reading the data of a page frame of an process. But when I use it, it make immediately freeze the system. Can you help me? Thank for reading my question! system: Ubuntu 9.04, kernel 2.6.28.15, Intel Duo static int read_addr(int pid, unsigned long... (2 Replies)
Discussion started by: hahai
2 Replies

4. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

5. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

6. Infrastructure Monitoring

Nagios: How to read the Linux system file?

hi 2 all i installed nagios in my linux srvr . check_ftp file is in format of system format . i wants to see the syntax for that script how can i read that file .. ??? please help me ! (4 Replies)
Discussion started by: ponmuthu
4 Replies

7. UNIX for Advanced & Expert Users

Separated hard disks for Operating System and applications - better IO performance ?

Dear all, I would like to ask if there are any positive effects from having a dedicated hard disk for the operating system. The scenario would be to have a dedicated disk for the OS and a dedicated disk for the applications. Do you see any advantages in such a configuration such as better... (9 Replies)
Discussion started by: petrospis
9 Replies

8. UNIX for Advanced & Expert Users

How raw disks are read?

Hi Experts, If I understand correctly in posix standard system calls read/write or pread/pwrite a file descriptor should be sent. How it works in case of raw disk? Are there something like files on raw devices? Or these disks are read just using block coordinates? I want to understand how... (2 Replies)
Discussion started by: sant
2 Replies

9. Solaris

Determining number of hard disks in the system

Hello to all, what is the command in Solaris/Unix which I can use to determine how many hard disks exist in the system? I have tried with different command such as df -lk and similar but cannot know for sure how many actual disks are installed. Commands like # fdisk -l | grep Disk and #... (14 Replies)
Discussion started by: Mick
14 Replies

10. Shell Programming and Scripting

Script to scan the disks and make file system

Hi What I'm trying to do(manually) is logging into the server and running the below mentioned commands ls /sys/class/scsi_device/ | while read i; do echo "- - -" > /sys/class/scsi_device/$i/device/rescan;done lsblk echo -e "o\nn\np\n1\n\n\nw" | fdisk /dev/sdd partx -a /dev/sdd1... (7 Replies)
Discussion started by: James0806
7 Replies
SHTOOL-MKDIR.TMP(1)					      GNU Portable Shell Tool					       SHTOOL-MKDIR.TMP(1)

NAME
shtool-mkdir - GNU shtool mkdir(1) style command SYNOPSIS
shtool mkdir [-t|--trace] [-f|--force] [-p|--parents] [-m|--mode mode] [-o|--owner owner] [-g|--group group] dir [dir ...] DESCRIPTION
This is a mkdir(1) style command with additional options and the ability to be smart if the directory already exists which is important for installation procedures. OPTIONS
The following command line options are available. -t, --trace Shows the actually involved shell commands. -f, --force Forced continuation and no complaints if directory already exists. Default is to terminate with error. -p, --parents Automatic parent directory creation. Default is to only create the last directory in the path and fail if parents are missing. -m, --mode mode The directory mode applied to the directory, see chmod(1). Omitting mode skips this step and leaves the operating system default which is usually based on umask(1). Some directory modes require superuser privileges to be set. Default is to stick with operating system defaults. -o, --owner owner The directory owner name or id applied to the directory, see chown(1). This option requires superuser privileges to execute. Default is to skip this step and leave the operating system default which is usually based on the executing uid or the parent setuid directory. -g, --group group The directory group name or id applied to the directory, see chgrp(1). This option requires superuser privileges to execute to the fullest extend, otherwise the choice of group is limited on most operating systems. Default is to skip this step and leave the operating system default which is usually based on the executing gid or the parent setgid directory. EXAMPLE
# Makefile install: shtool mkdir -f -p -m 755 $(bindir) shtool mkdir -f -p -m 755 $(mandir)/man1 : HISTORY
The GNU shtool mkdir command was originally written for Public Domain by Noah Friedman and later revised by Ralf S. Engelschall <rse@engelschall.com> in 1999 for inclusion into GNU shtool. SEE ALSO
shtool(1), mkdir(1). 18-Jul-2008 shtool 2.0.8 SHTOOL-MKDIR.TMP(1)
All times are GMT -4. The time now is 03:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy