I am using RHEL 5 and want to backup my linux file system from Linux rescue live CD, the partition I have is LVM, when I type LVM, not respond. And pvdisplay. command (command not found). How can I mount a lvm partition from live CD?
My hard disk is failing, and I want to rescue the files from it before it is un-bootable. I was planning to do this by booting a live cd, making a .tar file of /, and then burning it to a cd or dvd. The disk is still bootable, but I'm getting warning messages that 73 sectors are bad. I have another hard disk ready to plug in, I just need to rescue the files, and then install Fedora 11 64-bit on the new drive, at which point I will overwrite / with the / from the .tar file.
Basically I was just wondering how to mount a hard disk to recover files from a rescue cd. I tried to make a .tar file of / already, but that failed because the system was active and changing the various system files at the same time that tar was trying to package them.
Actually Some one has deleted my vmlinuz-2.6.18-164.el5 and its backup vmlinuz5 from /boot dir i want to restore those files. i tried by "linux rescue" mode but unable to mount my dvd from RHEL5 dvd drive there is no file exist as /dev/cdrom .
I have shared few directories through nfs in my fedora 12 OS.Here is the output of few commands from the virtual machine running on CentOS in both normal and rescue mode
Code: [root@localhost /]# showmount -e 192.168.0.3 Export list for 192.168.0.3:
I have been trying to install windows for 15 days and I was finally able to do it by removing in "disk utility" the sign saying that the fedora partition is bootable... but I did it when the partition was active... It showed me a message error but i thought that it told me it wasn't abvle to do it... and now that windows is installed I cannot any more access the partition either in rescue mode and on a live cd ... what could I do to access the partition either to save all the files or to (it woiuld be the best) reinstall the grub ?
Booting to CentOS 5.5 works and I am able to login with all my devices mounted. When I boot from the install DVD and type "linux rescue" I eventually get the message, after attempting to have one of the screens mount my partitions in read/write mode:
"An error occurred trying to mount some or all of your system. Some of it may be mounted under /mnt/sysimage." But nothing appears mounted under /mnt/sysimage. Should I try mounting my CentOS 5.5 partitions manually at this point ?
--- WinXP NTFS partition --- a vfat partition (mounted onto /fat32) --- Installed F10 on ext3 virtual partition
B. I do not want install grub-loader in the Master Boot Record (that would loose my WinXP boot-loader for ever)
C. I have installed grub boot loader in the First Boot Sector
D. Now I have to boot using Rescue Mode, do:
1. dd if=/dev/sda2 of=/fat32/linux.bin bs=512 count=1 2. mount -t ntfs /dev/sda1 /ntfs 3. cp /fat32/linux.bin /ntfs 4. modify /ntfs/c/boot.ini and introduce the statement 'c:linux.bin="Linux"'
Problem: Im not able to do step D.2 above.
Symptom: ** after booting linux using the Rescue Mode: sh-3.2# chroot /mnt/sysimage sh-3.2# uname -r 2.6.27.5-117.fc10.i586 sh-3.2# mount -f ntfs /dev/sda1 /ntfs FATAL: Could not load /lib/modules/2.6.27.5-117.fc10.i586/modules.dep: No such file or directory ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root sh-3.2#
Observations:
* The rescue mode boots into i586 based kernel (I dont know what is the actual difference between i586 and i686 - will really appreciate if anyone can educate me about it). * The installation is only a i686 image and consequently there is *only* '/lib/modules/2.6.27.5-117.fc10.i686' dir and *no* other dir. There is no dir as xxxx.fc10.i586.
My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
Environment: A 32-bit kernel RHEL5.3 system running on a virtual machine. The root(/) filesystem is on an LV.
Issue: Unable to resize the FS after extending the root LV since it is mounted. After extending the LV, online resizing of the FS was not supported and the root filesystem could not be unmounted while it was in use. On rebooting, I got a kernel panic error. In runlevel 1, I couldn't run chroot, couldn't find the /etc/fstab, root FS could not be mounted, fsck did not run (tried block 31 for second copy of superblock using dd count=1 bs=4k skip=31 seek=1 if=/dev/sda2 of=/dev/sda2), couldn't find any rpm on installation media to install unix-utils rpm. On running commands in runlevel 1,
From system security point to view I want to prohibit 'linux rescue' mode in my installed RHEL system. Because as per my knowlege through linux rescue mode anyone who have physical access to system can mount root filesystem(/) and retrieve all data without knowing root password. Please guide should i encrypt / on any alternative .
Im trying to restore RHEL 5.3 which was previously installed on LVM. I have completly new disks.
1. I have started RHEL install DVD with option: linux rescue 2. set up network 3. connected to NFS server where the backup is stored 4. restored partition image: dd if=/mnt/source/layout.bin of=/dev/sda bs=1024 count=1 (this will preapare partitions like it was before backup. After that it is necessary to run fdisk /dev/sda and choose oprion "w" - write)
Now, I want to create Logical Volumes, but I have no "pvcreate" command in RHEL rescue mode.
I believe that 10.04 & MYSQL Server are not compatible. My problem is that I have not been able to remove MYSQL from the system. Every thing I've tried says I have to reinstall before removing and I can NOT get anything to update. What can I do short of a hammer & chisel?
my HP Pavilion a335w on board NIC stopped working. I've tried putting in another NIC in the PCI slots #1 & 2 of the three available and the system does not pickup the card. I thought it was because it was an old 3com 3c905b and was not supported.I took the box to Best Buy and purchased a new Linksys card and had them install it.The Geek Squad told me that the Motherboard was bad, no charge.I took it to a refurbishing store and the very patient gentlemen tried to get a Netgear FA310TX card to be recognized with no luck.I took the Netgear FA310TX card home and put in slot #3 and booted up with the install disk. In Rescue Mode it recognizes the NIC and gets an IP address from the router.If I boot up normally without the install disk, then it does not recognize the NIC.
I have an issue with the fstab on Ubuntu 10.4 - I need to mount the system with a rescur cd and edit the fstab I have the CD for 10.4 but am afraid the process on mounting the system will overwrite the system. With all the information about Ubuntu I can not find information about this process
I've tried to get an opensuse box I have to share a directory via NFS. I've failed each time, but I thought that the third time, I'd enlist some help from the forums, if I could. how do I know that the nfs server and not the client is the problem? Short answer is: I don't! That's why nfs (and many netwrk problems) are laborious, you're troubleshooting needs to take place at both source and desitination. Next question, what do I have set up so far? Well, I did download the nfs server kernel stuff (two months back) and /etc/init.d/nfsserver start seems to get set up OK. No errors and the daemons nfsd, idmapd, mountd area all running. So, I *think* that part is OK. I have the share set up properly in /etc/exportfs and have "exportfs -r" it.
OK, now onto the trickier stuff: the client and iptables. On the client pinging to the nfserver box is perfect, and I have rpcbind running. the reported error is "mount.nfs: mount system call failed" though from experience nfs errors don't mean a whole lot.However, I will go off and check now and see if I need a mountd running on client-side too.Then there's iptables .... ouch, that could be a long and painful trek. I don't see any specific ports being blocked, and it's the iptables that the default v11.2 opensuse came with. I did turn them off and the problem was the same, so whether wishfl thinking or not, I'm hoping it's not an iptables issue.
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur."mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host"
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??
Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?
i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
Firstly, I would like to know if it's possible. Secondly, how do I do it? I want to have a svn server (box A), however the files are stored on another box (box B, windows server). The users of the svn server will be auth via LDAP. I already have the LDAP setup and users can login. I can also mount the directory on box B that has the files. However, this is mounted by a single user, which doesn't sound like a good idea. I unfortunately only have admin access to the svn server box. PS Just to make this a little more fun the svn will be served via apache, https.
I have server with 32 GB ram. And i have biggest problems with HDD I/O speeds.Now i want to do use my 16 GB Ram like HDD.How can i mount 16 gb ram like hdd in CentOS ?And data safety is not problem for me.I used for sessions and if data lost in restart i dont care
I had a centos Linux 64bit installed on my server.Unfortunately I don't know how but my OS crashed and now I have no way to get back my DATA except for rescue disk. I have a Linux 64bit loaded in my server with rescue but I have tried many ways to mount my hdd in Linux and was not succeed.
I am running ubuntu server 10.10. It was running fine until I tried installing a second hdd to back up my desktop (xp) and laptop (win7). I was following this guide: [URL]. I formatted it first as ext3 then realised I need fat32 so reformatted as vfat. When I went to mount the drive I got a warning that started:
Code: gksu:2400 Gtk-warning........ I rebooted using: Code: shutdown -r now
But when it restarted it stopped at a blank screen with a flashing 'underscore' in the top left corner. Where to go from here? Do I need to do a fresh install?
We can mount one NFS server just fine, but if we try mounting a share from another NFS server on the same domain we are unable to. We are using Fedora 10. Has anyone run into a problem trying to mount an exported share folder from an NFS server. Some of us get access denied and we've chmod 777 on the exported folder. The export file contains: /labdocs 192.168.1.0/24(rw, sync, no_root_squash)
And that's it. We run exportfs -a -v and it shows up fine. On one of the client systems we try to mount the folder on a directory created by root mkdir /docs mount 192.168.1.13:/labdocs /docs it either hangs or displays a message access denied.