CentOS 5 :: Connecting To Existing NFS Filesystem?
Mar 2, 2011
I have installed Centos 5.5 running in VMware on my windows PC. My PC is part of a network which connects to a Linux Fileshare system. I am wanting to connect to the existing Linux fileshare from centos. The know the fileshare is NFS and I know the IP address and directory name. I attempted to connect using the 'mount' command as#mount -t nfs <server IP address>:/<directory> <local directory>An attempt was made to mount, however it is username/password protected. I have gone through the docco for 'mount' and cannot find anyway of passing <username><password> with 'mount'. Does anyone know how? Or am I using the wrong command?
View 3 Replies
ADVERTISEMENT
Jun 3, 2009
will it be possible to convert existing filesystem to new ext4 while upgrading from Fedora 10?
View 1 Replies
View Related
Aug 15, 2011
I want to be able to add a physical drive to an existing filesystem, and PRESTO! That filesystem has more storage and/or redundancy. When one of the physical drives eventually fail, no problem, Ive lost some redundancy, I just have to install a new drive before another one fails.Lets assume I have 4 physical drives.*What Is This Configuration? *[URL]...But I am unclear how to get a logical volume that is mirrored and linear.
The last time I tried software RAID 1 (dm-x) under lvm, it was very fragile. Systemd could not start it,and then an update to mdadm put a stake through its heart. So I know that does not work.
View 5 Replies
View Related
Jun 1, 2010
I am trying to run a cron job as an oracle user. I put the user in the cron.allow file but it still won't run. Other users are able to run a cron job though. I think it's the way the oracle user was created and I wanted to recreate it. However it owns a lot of other file systems as well as the database. Is there a way to recreate or reset the oracle account without impacting what is currently in place?
View 1 Replies
View Related
Aug 23, 2010
I have two Linux hosts (both running Ubuntu 10.04) and I want one of them to have access to part of the filesystem of the other. I.e. I want remote1 to be able to access the files of remote2:/home/username
This is simply to allow me to access my home directory on the other machine, read-write, and there's no need for other users to be able to access this too. The used IDs for 'username' are different on each host, for reasons I won't go into (Likewise, ADS, etc).
I tried Samba but I found it unreliable. For example, I have a program that monitors a directory and updates a list of around 12,000 files. I found that this list was constantly changing with files dropping out and some files being randomly unreadable. It was too unreliable.
I had something working quite well on remote1 with:
sshfs remote2:/home/username ~/remote2 -o idmap=user -o uid=$(id -u) -o gid=$(id -g)
This works perfectly for a while. Unfortunately remote1 is a laptop and is regularly disconnected from the LAN. This seems to completely break things when this sshfs filesystem is mounted, and typically requires a reboot to recover. I started to look into NFS but I ran into problems with this a few years ago with regards to user id mappings. At the time, I found there was a user-space NFS server that dealt with this but it had a bunch of its own problems. But that was NFSv3. Can NFSv4 'kernel server' handle different user ids and map between them properly? I really don't want to use NIS, and I can't actually change the user IDs anyway - they are set by external means.
Also, how does NFS handle an 'unreliable' network connection? Will it automatically reconnect or will the share be broken until it is remounted? What about something like CIFS? Can this cope with the network being regularly and unpredictably broken? This might have the same problems that Samba did, but it's worth a try if it will be suitable.
View 3 Replies
View Related
Aug 27, 2010
an idea what might be wrong with fs 0x06 FAT16? I have a mobile, Sony Ericsson K750i, which was mounted in previous distributions without problems (up to 11.1). Now I use 11.2 and I am unable to mount it. I tried to do it via yast, but it says "non-existing or uknokwn file system" even it was recognized as 0x06 FAT16. I read that this fs is outdated, however still supported.
View 5 Replies
View Related
Sep 20, 2010
I have configured a kickstart file where it will ask for the hostname, ipaddress and so on from the user and will proceed further.But I would also like to detect the keyboard, mouse and language and provide it to the user so that he can select the required options.Do I have to call any existing CentOS scripts from ks.cfg file?or if any one has developed any scripts or can any one give me any inputs for it.
View 2 Replies
View Related
Sep 7, 2011
Summary of issue: EXT4 filesystem won't mount--with error = mount: unknown filesystem type 'ext4'. Is no ext4 in kernel the issue? Or is something corrupted?Really perplexed by this. I updated Centos 5.5 to 5.6 to get ext4 (5.6 is supposed to have full support of ext4). I built several arrays and put the ext4 filesystem on them. All went well until I tried to mount them. BTW, this array (below) is set up as a RAID6 using partition 1 of #8 2TB drives.Bear with me here; just trying to be complete and not waste your time.
Attempting to mount give this:[root]# mount -v /dev/md1 /asc/array1mount: unknown filesystem type 'ext4'Note: it does "fake" mount with ption (which apparently does everything except the system call):[root]# mount -f -v /dev/md1/dev/md1 on /asc/array1 type ext4 (rw,grpquota,usrquote)e2fsprogs:Package e2fsprogs-1.39-23.el5_5.1.x86_64 already installed and latest version (for Centos 5.6; CentOS 6x uses the 1.41...)
View 5 Replies
View Related
May 18, 2011
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
View 2 Replies
View Related
Feb 16, 2009
is there a way to clone an installation? I have a couple "master systems" which I want to replicate into other servers. In Solaris I can build a flar image from the first one and install from that image, I looked into cobbler and koan, but they seem to be more repo and kickstart oriented.I need a way to say "take this system as a base and build an installation image out of it".
View 3 Replies
View Related
Sep 24, 2009
I've installed CentOS 5.3+ xampp 1.7.2 (apache,proftpd and php5) +postgresql 8.4. And some strange errors appear from time to time, but can't reproduce it by wish. For example client opens a webpage on CentOS, the page can be open many times, but in some moment browser gives error as for non-existing page and when I check lampp's logs, there is only a record in error_log "[notice] child pid NNNN exit signal Segmentation fault (11)".
Or another example: client opens ssh-connection and ftp-connection. When ftp-connection got timed out and server closes it, ssh-connection unexpectedly gets closed the same moment without any errors in logs. And again it happens not everytime, but cannot be related to physical network because the same server on the same network with Fedora never had such errors. Possibly xampp-1.7.2 is not too compatible with CentOS 5.3? How to get more info from system in this case?
View 1 Replies
View Related
Dec 20, 2010
I administer a small network of computers connected to a windows 2003 server. The machines Dual boot Windows XP and CentOS 5. My question is this. The machines are being upgraded to HP Z800 workstations. These workstations come with 2 1TB drives setup on a hardware RAID0. Can I install Linux on these machines, using the RAID0? Can I do an install as if it was just one hard drive? The machines came with Windows7 and I'd like to keep it intact including the RAID0. Can I do the install where it resizes the partition, adding the linux partition to the "drive".
If I can't use the existing windows RAID0 to install CentOS I was thinking of just installing another hard drive in the machines for it. This brings up another question, what would happen if I moved my Linux drive from one of the old workstations and put it in the new workstation, would it boot? I know windows wont boot like this because of the hdd controller drivers and I have a sneaky work around for this anyway but am not wanting to transfer the windows installation.
View 2 Replies
View Related
Mar 22, 2010
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
View 2 Replies
View Related
Aug 30, 2009
Does anyone know how to install the Default KDE Desktop settings in an existing user? I copied a user's home directory from another Linux and when I added the user using adduser on the new intallation, it did not copy any of the Desktop or other .rc/.profile settings.
Is there a script that is run by adduser, or a list somewhere of the files that are needed for KDE Desktop to work correctly? Or, do I delete or rename certain files and then, what executable do I run to get the Desktop?
View 3 Replies
View Related
Oct 8, 2009
I have CentOS 5.3 dual booting with Vista on a machine with AMD-V support. I'm looking to get my existing Vista partition running as a DomU Xen machine. Can this be done without having a dedicated video card?I've got a Xen kernel (from the repositories) installed and running perfectly with my nVidia graphics card. I tried to set up a new DomU through virt-manager and set it up as Vista, pointed it at the physical partition (fakeRAID mapper device) and gave it 2Gb RAM (I have 8Gb total). I got it to do a PXE network boot, knowing that this would fail and therefore no installation would be attempted, as no installation is needed.
This worked well in that the initial PXE boot failed and the machine shut down. When I start it now it seems to actually boot Vista, but I just can't see it! It goes as far as saying "Booting from Hard Disk..." in the viewer window and then doesn't update, although the disk activity and CPU usage are very similar to a machine booting Vista to the login prompt.
View 4 Replies
View Related
Jan 3, 2011
I had set up 4 virtual machines on centos 5.5 system where I directed the image locations to an external storage. I have lost the image files in the storage, but I have the image files that were copied from the virtual machine image location. I want to put up the same system on the same computer by copying these backup images. However, when I copy the image file to the same exact location and start the corresponding virtual machine I get "no bootable disk" error. When I increase the size of the image using "qemu-img" commands, I can get rid of this error, but get "error reading disk" error. Is there a way to overcome these problems, or is it not possible to restore a virtual machine by copying the machine image file under ..../xen/images?
View 1 Replies
View Related
Jun 23, 2010
I have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.
View 7 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
Jul 2, 2011
I have a Centos 5.6 Linux Server configured as Router with NAT for my LAN. There are currently 2 NIC's on my server. One is connected to WAN , a PPOE connection (eth0) and eth1 is connected to a switch which supports my LAN. I have enabled NAT and configured iptables on my server and I am able to access internet from LAN and everything is working fine.I have a Belkin F5D8233-4v3 Wireless router and I need to configure wireless on my network so that I can access internet from my Laptop. The issue is that I have only 2 NIC's on my server, one Gigabit NIC integrated with my motherboard and another NIC which I am currently using for WAN access and LAN. I need to setup the Belkin as an wireless Access Point.
Can I connect my Belkin to my switch and set it up as a Wireless Access Point?? I have read about setup using 3 Nic's.Any ideas on how to configure my Belkin as Wireless Access Point with my existing setup? Is Belkin F5D8233-4v3 supported on Linux.
View 1 Replies
View Related
Sep 23, 2011
I have a home samba server with a 3ware Escalade 8506-8. I have 5 x 500 gig hard drives in a RAID 5 array. Recently, my 8506 died and I need to get a new one. However, I saw a 3ware Escalade 9500S-12 on ebay for about $20.00 dollars more than a replacement 8506-8.
My question is, if I put my drives on the 9500S, will it recognize my existing RAID array? Or will it want to build a new RAID array and format all of my data?Hope I have asked this question clearly, little short on sleep this week.
View 3 Replies
View Related
Jul 17, 2009
I have 64bit install with CentOS release 5.3 (Final)It's been stable for about six months. What happened a while ago is really weird, I haven't messed with anything lately but the entire /home filesystem became read-only. Can't write, can't delete to anything on /home. The other filesystems are fine. I am root, and the permissions look normal. My directories and files are writable and readable.
root@atlanta [/home]# touch foo.txt
touch: cannot touch `foo.txt': Read-only file system
root@atlanta [/home]# ls -l
[code]....
View 7 Replies
View Related
Jun 8, 2011
I'm attempting to build a load balancing cluster for shared web hosting clients and the only thing left is security. Given the track record with some of these sites, I don't trust them being centralized. We've had rootkits on some of the other servers that replaced system binaries, mostly ssh to capture passwords. I figured the only real way to lock it down tight enough to keep this from happening is to use a live cd for the filesystem or read-only toggle USB stick. But I also need to mount a rw drive to store the clients data and config files that are bound to change.
Is this really the way to go about this? If so do I simply make a live cd iso and edit the files within to handle mounting a rw hard drive and linking data and configuration files to that drive? I've considered just leaving all the data on the physical hard disk and mounting it as ro on boot for binaries and such but can't that just be changed with the right permissions?
View 2 Replies
View Related
Aug 4, 2011
I have a centos 5.5 server which hangs with yum update. i did a yum clean all. removed the rpm en /_.rd een did a rebuild. In the logs there are no errors. If there is another update except these to he works just fine. Disk space is enough free. Any ideas? i am runnung yum update as root . when i do a full report of yum i get this:
[Code].....
View 1 Replies
View Related
Apr 5, 2009
today I upgraded (yum update) one of my Dell Poweredge Server from 5.2 to 5.3. After rebooting the system first seems to start normal but then the following Error Messages appear:
Apr 5 14:28:26 srv_1 kernel: I/O error in filesystem ("dm-0") meta-data dev dm-0 block 0x668000008 ("xfs_trans_read_buf") error 5 buf count 4096
Apr 5 14:28:26 srv_1 kernel: attempt to access beyond end of device
Apr 5 14:28:26 srv_1 kernel: dm-0: rw=0, want=27514634256, limitfs]
[code]....
Booting with a rescue disk and doing a xfs_repair solves the file system Problems but moved a lot of files ( at least /usr/bin and /usr/lib completly) to "lost+found"... I tried the update with a spare 5.2 Server (different Hardware), and ended up with exactly the
same effect and error message. Both systems are running XFS as root File system on an LVM Disk.
View 3 Replies
View Related
May 19, 2009
Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.
What Im going to do now is:
1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed
Is this the way to go? Am I missing anything?
View 6 Replies
View Related
Jun 27, 2009
I have successful tar an existing CentOS 5.2 partition from Fefora10. The idea is to move a working CentOS 5.2 reside in an internal hard drive to a portable hard drive. I know how to edit a stencil in menu.lst to boot the clone CentOS5.2. During boot, I encountered
Red Hat nash version 5.1.19.6
mount: could not find filesystem /dev/root
setuproot: moving /dev failed No such file or directory
setuproot: mounting /proc: No such file or directory
setuproot: mounting /sys: No such file or directory
[Code]...
View 4 Replies
View Related
Aug 13, 2009
Error 16: Inconsistent filesystem structure I was making my first system update yesterday, and had to restart after 6 hours of downloading, while the indication bar was about 60%.
Today, I was booting into Centos 5.1 and GRUB gave me this screen:
root (hd0.0)
Filesystem type is ext2fs, partition type is 0x83
kernel /vmlinuz-2.6 18-53.e15 ro root=/dev/VolGroup00/LogVol00 rhgb quite crash
kernel=128M@16M
[Code]...
View 3 Replies
View Related
Oct 13, 2009
I'm looking for insite on how it might be possible to grow an existingvolume/partition/filesystem while it's in active use, and without having to add additional luns/partitions to do it.For example the best way I can find to do itcurrently, and am using this in production, is you have a system using LVM managing a connected LUN (iSCSI/FC/etc), with a single partition/filesystem residing on it.To grow this filesystem (while it's active) you have to add a new LUN to the existing volume group, and then expand the filesystem. To date I have not found a way to expand a filesystem that is hosted by a single LUN.
For system context, I'm running a 150 TB SAN that has over 300 spindles, to which about 50 servers are connected. It is an equal mix of Linux, Windows, and VMware hosts connected via both FC & iSCSI... With both Windows & VMware, the aforementioned task of expanding a single LUN and having the filesystem expanded is barely a 1 minute operation that "Just Works".If you can find me a sweet way to seamlessly expand a LUN and have a Linuxfilesystem expanded (without reboot/unmount/etc)I have cycles to test out any suggested methods/techniques, and am more than happy to report the results for anyone else interested. I think this is a subject that many people would like to find that magic method to make all our lives much easier
View 3 Replies
View Related
Sep 6, 2010
I need to hide all the contents in a file sytem. Any command is there or need to tune the kernal parameter...
View 3 Replies
View Related
Aug 1, 2011
I want to lock the filesystem based on user basics, In effect only specific users should have write access. This need to done apart from normal permission setup.
In Detail:
filesystem: /app
application users: appuser1 & appuser2
Normal users: user1 user1
Required: Only app users need to have write permission over app file system, this should done apart from the normal directory permissions. The all other users can able to view the contents even though other users have write permission based on permissions.
This need to done by over ridding the normal permission setup.
View 6 Replies
View Related