03-30-2010
Iam recompile kernel and add support for SYSV but fail to mount as sysv
[root@yasser yasser]# modprobe sysv
[root@yasser yasser]# mount -t sysv /dev/sda3 /mnt/ncr
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@yasser yasser]# dmesg |tail -1
VFS: unable to find oldfs superblock on device sda3
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)
Discussion started by: soulshaker
4 Replies
2. IP Networking
I have a company lan, we have workstations and we have servers. I have 3 unix servers, and 2 linux servers. I can ping one of the linux servers from windows, but the other one gets no reply, However, from my unix boxes i can telnet AND ping both linux boxes. The 2 linux boxes are on different... (4 Replies)
Discussion started by: kymberm
4 Replies
3. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
4. Filesystems, Disks and Memory
Hi, I am new to the UNIX operating system and would realy appreciate some answers to these problems.
I have a unix box (Actually several of them throughout the different locations) that have NCR MP-RAS 3.02.x.x (with multiuser and possibly security packages installed.)
Originally they had 2gb... (4 Replies)
Discussion started by: ad7_98
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I transferred a tar.gz file from a linux server to a unix server using ftp.
In the unix box when i untarred, only few files with zero bytes were copied and i get "tar dir : cksum error"
Could anyone help me out ?
Thanks & Regards,
Abinaya (3 Replies)
Discussion started by: abinaya
3 Replies
6. Shell Programming and Scripting
Hi,
the following shell script is not working on linux box
sugeestions appreciated.
FILE1=/tmp/check1.txt
FILE2=/tmp/check2.txt
df -k | awk '{if (NR != 1)
print $5 $6}' > ${FILE1}
awk -F"%" '{if ($1 > 90) print "Warning: Filesystem " $2 " over 90% threshold (" $1 "%)"}' ${FILE1} >... (7 Replies)
Discussion started by: prakash.gr
7 Replies
7. UNIX for Dummies Questions & Answers
hi, guys,
now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command.
just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I am fairly new to ubuntu and have been learning linux using this distro. I am using Ubuntu 11.04 server.
Recently I added a new HD to the desktop.. however I know I need to mount it,
My question is how would I mount this disk? so I can use it as a drive?
Thanks
here are my... (5 Replies)
Discussion started by: NelsonC
5 Replies
9. UNIX for Advanced & Expert Users
Dear all
I'm trying to virtualize NCR on UBUNTU host .
I need a help ,I'm new to UNIX world .
If any one ca send me step by step guide , I'll appreciate this very much .
Thanks (3 Replies)
Discussion started by: semerouk
3 Replies
10. Filesystems, Disks and Memory
let me know to create a new partition on ncr unix with vxfs filesystem (0 Replies)
Discussion started by: venikathir
0 Replies
LEARN ABOUT DEBIAN
pivot_root
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).
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), mount(8), pivot_root(2), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2000 PIVOT_ROOT(8)