CentOS 5 :: Turning Filesystem In Invisible Mode?
Sep 6, 2010I need to hide all the contents in a file sytem. Any command is there or need to tune the kernal parameter...
View 3 RepliesI need to hide all the contents in a file sytem. Any command is there or need to tune the kernal parameter...
View 3 Repliesi just want to know whether we can execute the commands in invisible mode in linux. i.e.the command we typed must be executed but should not be visible.is it possible.
if not,then how the password we are typing is not visible in linux,while creating or entering password for users.
I started having this issue two days after installing openSUSE. When I try to boot it on battery (that is, without a energy plug) the laptop just turn off right at the beginning. I have other OS's installed and they are working properly and booting when in battery mode. I haven't got a clue of what I need to check to fix this, can anyone help me out? My laptop is a vostro V13.
View 2 Replies View Relatedi am wanting to turn my Debian box into a wireless AP, but for some unknown reason the wireless card won't switch into master mode when i run the command #iwconfig wlan1 mode master i get this Error for wireless request "Set Mode" (8B06): SET failed on device wlan1 ; Invalid argument. what does this mean and what do i need to configure/install to get it to work my wirless card is supported i checked it's a zydas chipset using the zd1211rw driver SMC EZ Connect SMCWUSB-G [URL]
View 14 Replies View RelatedMy video card is Ati radeon HD 3730 i installed driver from official amd site.
And after installing driver cursor becomes invisible.
I tried
Option "HWCursor" "off"
The system always boot up in Graphic Mode. After installation of Web Server, I want to disable Graphic Mode and change it to boot to Text Mode to save memory. Is there a way to disable graphic mode?
View 1 Replies View RelatedI am running a dedicated server with linux cent os 5.5 32 bit with lighttpd, php 5.2.14 and mysql
I am getting problem in my server. The filesystem enters read only mode automatically and then I can't edit any file in my server. This happens by itself. I tried to run fsck command and it gives the following output:
Code:
[root@server]# fsck -A -y
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/: recovering journal
Clearing orphaned inode 11108656 (uid=0, gid=0, mode=0140777, size=0)
Clearing orphaned inode 13631499 (uid=27, gid=27, mode=0100600, size=0)
[Code]....
At boot time, before entering Runlevel 3 the HDD will go mad when mounting tmpfs on /dev/shm...
Code:
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
INIT:Entering runlevel 3
It will go on and on at the tmpfs on /dev/shm type tmpfs (rw) until i press ctrl-C...then I will stop whatever it is doing, let the hdd rest a bit, and resume normal boot..
A few days ago I decided to try a linux OS for the first time. Following a how-to advice, I created a ~80gb partition (on a 320 gb sata disk) for Win7 and installed it. Then I installed Ubuntu 10.04, chose to make partitions manually, created a primary ext4-partition (right after the one with Win7) for / and a 1024mb swap partition. So now the disk is parted this way: 512 booter - Win7 system, ~ 80gb ntfs - Ubuntu /, 8 gb ext4 - Ubuntu 1 gb swap - file storage, ntfs ~240 gb (created using Win7 bootable disk, but the issue from below started before this).
After the installation the boot loader failed to load any system, giving the error from the topic title. I tried several ways to reinstall/repair/reconfigure grub in the live-CD mode. Some of them didn't change anything, others were not completed because of an update-grub error ("cannot find a device for / (is /dev mounted?)"). Grub version is 1.98b. The disk with Win7 and Ubuntu is treated as hd0 in grub and sdd in Ubuntu
ote: even though the thread is marked as SOLVED, the issue is actually not. I have managed to dual-boot Win7 and Ubuntu, but with partition configuration changes
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...)
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?
I`m looking for a a X-Window in CentOS. At the moment I work with console only in text mode
View 2 Replies View RelatedPl can anyone guide me to connect centos 5.5 using ethernet port to ADSL Broadband modem which is configured in PPPoe mode?
View 19 Replies View Relatedi have installed latest skype-2.0.0.72-centos.i586.rpm from the skype website. i have installed it at a datacentre which runs in headless mode the procedure i followed to start skype is
i)Xvfb :1 -screen 0 800x600x24 &
ii)export DISPLAY=localhost:1.0
iii)echo skypeusername skypepw | skype --pipelogin &
it seems the skype not working as i was unable to see this user's status as logged in from another skype account on a different system the architecture is: CentOS release 5.3 (Final) uname -r : kernel- .6.18-128.1.6.el5 uname -a: Linux localhost.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
[Code]...
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]....
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 View RelatedI'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?
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].....
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
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.
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?
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]...
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]...
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
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.
I have created two logic disks /dev/VolGroup00/LogVol00 and /dev/VolGroup02/LogVol02
After reboot has disappeared /dev/VolGroup02/LogVol02
How to restore logic volume?
I'm trying to config Apache and Subversion to work together, I did:
1. yum install mod_dav_svn subversion then I had Subversion and httpd installed!
2. create: /usr/local/subversion/repos
create: /usr/local/subversion/repos/test (by svnadmin create)
create: /usr/local/subversion/access/svnauth.conf (by htpasswd)
added to file : /etc/httpd/conf.d/subversion.conf:
<Location /repos>
DAV svn
SVNListParentPath on
[Code]...
I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.
I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.
Like in subject when i run gfs2_gettune it returns:
gfs2_tool gettune /mnt/SambaShare/
gfs2_tool: gfs2 Filesystem /mnt/SambaShare/ is not mounted.