CentOS 5 :: DRBD Mounted Partition Not Updating?
Nov 4, 2009
I've been working at creating a highly available set of host servers for a linux diskless boot cluster.Each host machine is fitted with redundant power supplies and two 1TB drives in a Raid-1 configuration.When I first started this project they each had twin 160GB drives. In my original setup I had both nodes acting as primary systems so that I could mount /dev/drbd0 to my /data directory and see changes immediately.It had worked in the past where I could make a file in /data on the first machine and it would show up in the /data directory on the second machine. One day this had stopped working where if I made a file on the first machine it would display on the second one until I unmounted /data and remounted it to the /dev/drbd0 disk.
This is when I bought the new disks and decided to start from scratch. The weird thing is that if I make a file on the primary and remount on the secondary to see it and then delete it from the secondary and THEN delete it on the primary, the primary throws no error however it goes into read-only mode because it knows that file was already gone.Below is my configuration file, sda8 is an 820GB partition which is used for all of the data I want to replicate, currently populated with ~10GB of data. Sda7 is my metadisk partition which is 500MB large clearly more than needed by drbd.Also you will notice "incon-degr-cmd "halt -f";" is commented out. This is because when I go to actually use it drbd throws an error when reloading the configuration and I'm not sure why that is either
resource r0 {
protocol C;
#incon-degr-cmd "halt -f";
[code]....
View 3 Replies
ADVERTISEMENT
Aug 10, 2010
I recently installed Cent-Os on a server and changed the default partitioning to have 2 partitions - 1 main area for everything and a swap partition of 8Gb After installation I cant see the swap as a separate partition although there is a 16GB tempfs mounted as /dev/shm Is this right ?
fdisk -l shows :-
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
(first partition being non-lvm boot)
View 3 Replies
View Related
Apr 13, 2010
I'm running RHEL 5.5 on two workstation for test DRBD and I get something that sound strange ...[URL] Quote:Protocol C. Synchronous replication protocol. Local write operations on the primary node are considered completed only after both the local and the remote disk write have been confirmed. As a result, loss of a single node is guaranteed not to lead to any data loss. Data loss is, of course, inevitable even with this replication protocol if both nodes (or their storage subsystems) are irreversibly destroyed at the same time. By far, the most commonly used replication protocol in DRBD setups is protocol C.
View 15 Replies
View Related
Aug 19, 2010
Iam trying to integrate drbd 8.0.16 in 5.3 release.
Installation of drbd was successful but modinfo fails to identify drbd kernel module.
[root@inccishh0884 usbs]# /sbin/modinfo drbd
modinfo: could not find module drbd
[root@inccishh0884 usbs]#
[root@inccishh0884 usbs]# ls -l `find /lib/modules -name drbd.ko`
[Code].....
how i can make the modinfo to identify the drbd modules present in 2.6.18-128.4.1/extra folder.
Is there a drbd module available that matches exactly with the kernel version 2.6.18-128.el5
View 2 Replies
View Related
Jun 23, 2009
i have problems with my failover machines and cant locate the cause. The last update is quite some time ago.So will it hurt my configuration when I do an yum-update? I have 5 Xen VM on each machine, also they replicate with drbd and heartbeat. Can I just update the dom0 and leave the VM untouched inside?
View 5 Replies
View Related
Jul 23, 2010
I'm trying to configure an ISCSI/DRBD high-availability cluster and I'd like to know what is the best option between OpenAIS and Heartbeat. I've seen they both are included in Centos Repos, yet OpenAIS requires installing 2 addition repos to install Pacemaker (EPEL and Clusterlab repos).
View 1 Replies
View Related
Aug 17, 2010
using suse 11.3 and kde 4.4.4 on the mounted fat32 partition I cannot change icons partition is mounted in fstab in this way:/dev/sda8/ /dati vfat user, users, gid=users, umask=0002, utf8=true, 0, 0.I can create files folders modify, move and save them on the partition but if I try to change the icon (in dolphin right click>properties>click on icon) of the /eros folder (or any other folder or link) system gives me
this error:impossibile salvare le proprieta' , non hai accesso sufficiente per scrivere su /dati/eros/.directory tha in english is something like this: impossoble save properties, you havent enough permission access to write on /dati/eros/.directory this happen also as superuser I remember that with suse 11.0 or 10.3 I was able to change icons on fat32 partitions, now with 11.3 I cannot, there ought to be a way to do what I did with the previous version with this 11.3 brand new ad more advanced version shouldn't it?
View 11 Replies
View Related
Feb 5, 2010
Is there a program that will reread the partition table and update the kernel even if one of the unmodified partitions is mounted? I installed my system on one partition, then I added another with free space. Now I want to format the second partition, but the kernel doesn't know about it yet. I tried sfdisk -R /dev/sda, but it refuses while the root partition is mounted. Is there anyway I can avoid rebooting?
View 2 Replies
View Related
Mar 23, 2010
I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :
- first drive is the system
- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go
- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go
View 2 Replies
View Related
Jun 26, 2011
I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?
View 1 Replies
View Related
Apr 22, 2010
When I powered-up my computer today I received the message that the home partition listed in /etc/fstab cannot be mounted and to press ESC to go to the recovery shell.
My computer is dual-boot, with Windows on the first hard disk (sda) and Ubuntu 9.10 on the second hard disk (sdb); I am using Grub version 1.97 beta4. The home partition is thus on sdb2 and the file system is ext4.
The /etc/fstab file contains all the partitions and has not changed since last October. Also, when issuing the command fdisk l, all partitions are correctly displayed, including the home that cannot be mounted.
Finally, the command fsck /dev/sdb2 quickly returns the result that /dev/sdb2 is clean!
View 6 Replies
View Related
Apr 27, 2010
I am trying to actually wipe my entire hard drive and figured it may just be easiest to format the hard drive and deleting the partitions. So when I go to System => Administration => Disk Utility => Select the Hard Drive => Click Delete Partition => And I get the error shown in my screenshots. What would be my best way to delete this partition and remove ubuntu completely for the time being. And yes I am using the latest RC. 10.04. However I don't suspect this is a bug.
View 7 Replies
View Related
Jul 6, 2010
I'm using LVM-based partitioning. I can not mount one partition. Here is some information I can provide.
Untitled-1.png
snapshot7.png
snapshot8.png
This incident happened after I try to encrypt this partition and then an error message appears. If not mistaken, it contains an error number (I forget) and a warning which reads that can not remove the LABEL on the devices.
View 1 Replies
View Related
May 9, 2010
I am trying to save a document in a mounted partition but its says I don't have the permissions to save the file. It says this for any partition. I am only able to save it in my home directory. How to I solve this. Basically I am trying to access a file in linux in windows xp. So I need to save the file in fat 32 partition which it is not allowing me to do.
View 4 Replies
View Related
Oct 24, 2015
I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.
System Configuration:
I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.
What are the methods reduce this partition?
View 8 Replies
View Related
Jun 6, 2011
I installed Fedora 15 onto sda2, and a df looks like this:
Filesystem Size Used Avail Use% Mounted on
rootfs 3.9G 3.4G 311M 92% /
udev 991M 0 991M 0% /dev
[code]...
View 7 Replies
View Related
Oct 3, 2010
recently i did a fresh install of 11.3 on an ext4 partition. My data disk is a ext3 and the new system mounts it during boot.I can write to it but i can not execute programs from this partition.in fstab i can not find something like "noexec"permissions of mount folder looks ok for me. e.g. execute compiled "hello world"
me:~/datadisk> ./hello
bash: ./hello: Permission denied
me:~/datadisk>
[code]...
View 6 Replies
View Related
Jan 4, 2010
I had my hard disk partitioned as below:-
Size Label Mount point File system
52 GB Multimedia /MM ntfs
52 GB Backup /ABackup ntfs
52 GB Extras /Extras ext4
27 GB root / ext4
60 GB home /home ext4
The problem is that I cannot access the /MM and contents. I tried Properties > Permissions and changed applied the changes to subfolders and contents too. Now I can access /MM but not the contents. All are marked with a lock logo.There are numerous folders/files.Changing the permissions individually is a hectic work.possible to do it in a command line/script?
View 4 Replies
View Related
Jan 16, 2011
I'm totally new with linux and Ubuntu. I've just installed 10.10 yesterday and since then it's been an uphill struggle These forums has helped me out quite a bit already so I hope you can continue doing it with this problem I have.I got a single drive where the bootpartition is ext4 and the other "storage" partition is a remenant from a windows 7 installation I had, with NTFS. Decided I wanted to give Ubuntu a try! Now i've run into permission trouble though, mainly because I wanted to set up an FTP server (oh what a struggle THAT's been, I have some stories... ). I've done a "mount --bind" so that I can reach different resources directly from my chroot. It turns out though that the mounted partition isn't giving anyone except the owner (me) permission to see the resources. FTPing into the server gives the mount points but gives a 550 error and can't list anything inside of them.It works perfectly for me just running it at the prompt or using the mount points directly in the Ubuntu GUI though (since I'm the owner/admin/whatever).
My intended solution that I've found was that people with NTFS drives did a few magic tricks with the line of text in Fstab so they could access their NTFS drives. Problem for me is that my sda3 mount isn't showing up at all in fstab, even though fstab is supposed to (as far as I know) show all mounted devices on there. All the while, I have my sda3 totally accessible from /media/Storage/. Any pointers as to why this is?After I installed Ubuntu, I just mounted the sda3 with the Disk Utility from System->Administation and didn't think much of it afterwards until now.What's the best course of action here? remount the ntfs partiton using fstab? Convert the ntfs partition into an ext4? I have a lot of data on there I want to keep as well.
View 4 Replies
View Related
Jan 8, 2010
I have a DHCP/PXE server behind a firewall. It mounts partitions on the file server on the corp. network on the other side of the firewall. Every box that PXEs also mounts partitions on the main file server.
I was hoping I could change them to mount from the DHCP/PXE server, so that server could cache and cut down on the requests through the firewall, as well as the sessions that the firewall must track.But it seams a little strange to try to export directories that are simply NFS mounts on another server already.
View 2 Replies
View Related
Nov 19, 2010
I have a 500 G, where 80 are used for FC13. I added a new 80 G partiton, using Disk Utiliy, called it Backup, and I can access it when I am logged as root, When I log with any other user, even with all privileges (added almost in all groups), I get a dialog box requesting authentication.
I enter my user password, file manage just disappears as soon as dialog box disappears and I think it is a permission issue again.
In disk utility opposite to Device there is "dev/sdb", in mount point there is media/backup.
I opened fstab, I can not see an entry, here is the fstab :
Quote:
#
# /etc/fstab
# Created by anaconda on Wed Jun 16 00:58:19 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
[Code]....
So what is the route to follow to follow to allow my user to access normally read and write to it without anu persmission issues
View 9 Replies
View Related
Feb 1, 2011
Every time I mount one partition manually as read write it works fine for a couple of minutes before reverting to read only. It still appears as read-write when I list the mounted directories but won't let me write to it. I have tried unmounting and remounting it, but after a few minutes it always ends up as read-only again.
$ mount
/dev/sda3 on /scratch type ext3 (rw)
$ mkdir /scratch/file
[code]...
View 5 Replies
View Related
Aug 30, 2010
after i update to -current a few days ago. my slack partition cannot be mounted...and after that it's show 'kernel panic'.before i experience that problem, i have encounter an odd problem after i update my slack to -current, after i lock my screen and i want to unlock it, i cannot unlock it, it says 'i must kill kscreenlocker manually'. After that i reboot using root account. then i cannot enter my slackware again.kernel panic in boot screen.Kernel panic: VFS : Unable to mount root fs (8,2)
View 5 Replies
View Related
Nov 11, 2010
I have two ext4 partitions: one with Ubuntu 10.10 64-bits and the other just for storing files.When I log on to Ubuntu, my second partition is not mounted. Shouldn't Ubuntu mount my second partition by default (since it recognizes it as ext4)?If it should, why is this happening to me?If it shouldn't, how can I get my second partition to be mounted at startup? Should it be by using the same solution provided by prayag_pjs (first reply)[URL]
View 1 Replies
View Related
Oct 13, 2010
I have 2 partitions on my computer:one is "64 GB ext4" (with Ubuntu 10.10 64-bit)and the other one is "Data 436 GB NTFS" (just for storing files)On startup the second partition is not mountedefore I click on "Locais" this is in Portuguese (the button between Applications and System on the top bar) > "Data".
View 14 Replies
View Related
Jun 12, 2011
I am having a problem with Dolphin where if I am trying to view the files in an extra partition I have mounted it crashes. It only does it on partitions not usually mounted at start up. The error it gives is:
Executable: kdeinit4 PID: 6209 Signal: Aborted (6)I am running fully updated openSUSE 11.4
View 9 Replies
View Related
Apr 2, 2010
i m mounting one ext4 partition onto some folder inside /home, have added things on fstab but now i dont want this thing to be listed on the desktop or on the places menu. i m using karmic.i have checked gconf-edit but
View 2 Replies
View Related
May 4, 2010
Yesterday, I upgraded to the 10.04 verion of xubuntu. Looks fine. However, I keep my data on an NTFS partition of my dual boot laptop, and am finding that I can't access it.
I have a symbolic link to that mounted partition, and when I click on it, I can see the first level of folders, but I can't execute them (even though they seem to be set to 777) and I can't open anything...
View 6 Replies
View Related
Aug 31, 2010
I set my fstab to auto mount one of my partitions in ~/Music.It works perfectly, but there is always the icon in the desktop pointing to my partition with the name "40 GB FileSystem". The idea behind mounting it automatically to ~./Music was for the partition to be transparent to me...Is there a way to remove that icon from the desktop and from the Places menu?
View 9 Replies
View Related
Sep 15, 2010
I have a really odd problem when I mount a partition with Nautilus is attributed to another user, I don't know why. I've tried by adding the following like in /etc/fstab
/dev/sda2 /media/windoze ext3 user,noauto,rw 0 0
Then I can mount the partition but in this case it is attributed to the root and I don't have the permission to read it. I cannot understand why since I've given the 'user' option.
View 4 Replies
View Related