Re: [CentOS] how to reformat a partition to ntfs?
> >> 1) Insert CentOS install CD until you come to the first screen. > >> > >> 2) Open virtual console : Alt+F2 > >> > >> 3) # shred -vzn 65536 /dev/hda > >> > >> 4) Watch messages scroll by. Wait until it's finished (important), > >> then post here to tell us the results. > > > > Mean! > > And particularly useful to all the other people who follow > instructions to use google search to find procedures. Per shread's manual pages, this tends to fail for ext3 and other log/journaled file systems. Step 3 should instead be "badblocks -f -p 10 -w /dev/hda". The drive is now ready for the new system to be installed. mkfs.ntfs /dev/dha should suffice as well, and is much quicker. *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
On 8/4/10, Les Mikesell wrote: > I thought the GPL on the kernel code would not permit the inclusion of less > restricted code like the CDL-covered zfs. For a network share, why not use That's why the Fuse effort is further along, being in user space it bypasses the limits of the licenses in the sense that it is a derivative work or something along those lines. > the OpenSolaris or NexentaStor versions since you wouldn't be using much else > from the system anyway. If I really have to, but I was hoping I wouldn't need to learn another relatively similar OS and get myself confused and do something catastrophic while in console one day. Especially since I'm way behind schedule on picking up another programming language for projects my boss wants me to evaluate. > Snapshots and block-level de-dup are other features of zfs - but I think > you'll lose that if you wrap anything else over it. Maybe you could > overcommit an > iscsi export expecting the de-dup to make up the size difference and use > that as a block level component of something else. Honestly, I've no idea what all that was about until I go read them up later although I understand vaguely from past reading that snapshot is like a backup copy However, in my ideal configuration, when a VM host server dies, I just want to be able to start a new VM instance on a surviving machine using the correct VM image/disk file on the network storage and resume full functionality. Since bulk of the actual changes is to "files" in the virtual disk file, having snapshot capabilities on the underlying fs doesn't seem to be useful. ZFS checksum ensuring that all sectors/inodes of that image file are error free seems more critical. Please do point out if I am mistaken though! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Introduction and request for help with virtualization
Good morning everyone. This is my first post to this list. I am very new to Linux so please bear with me. Also, English is not my first language so please excuse me if I am unclear. I am trying to install CentOS Linux operating system in a virtualization setup. I have already built four host machines with CentOS 5.5 and KVM virtualization. I can install fine if I do a manual installation. I am now trying to automate the process. To this goal, I have create multiple LVMs inside my new volume group. The name of the volume group is vmstorage_vg. The problem occurs when I try to run the installation. I found a script via google: #!/bin/sh virt-install \ -n calcnode01 \ -r 1024 \ -f /dev/vmstorage_vg/calcnode01 \ --cdrom=/software/iso/CentOS-5.5_x86_64-boot.iso \ --accelerate \ --vnc \ -x "ks=ftp://192.168.0.101/pub/ks/calcnode01.ks ip=192.168.0.101 netmask=255.255.255.0 dns=192.168.0.20 gateway=192.168.0.1 text console=ttyS0" When I start this script from the SSH terminal it starts but I cannot see anything being installed. I entered the virsh console and see the calcnode01 entry if I do a list. If I try to connect using virsh I do not see anything. The kickstart was created from the anaconda file created from the manual installation. I enabled the options to create the filesystems. I think the installation is waiting on some input but I cannot see any console. I have tried with and without the "console=ttyS0" option. Thank you everyone for your time. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
On 8/4/10, Todd Denniston wrote: > To have more than one active server with DRBD (or other disk type shared > between active machines) > you need to be using a file system which supports shared disk resources. > http://www.drbd.org/docs/about/ > http://www.drbd.org/users-guide-emb/s-dual-primary-mode.html > http://www.drbd.org/users-guide-emb/ch-gfs.html > http://www.drbd.org/users-guide-emb/ch-ocfs2.html > > and perhaps using Gluster (Raid0 on net) with DRBD (Raid 1 on net) as disk > space to get HA into Gluster? > http://www.drbd.org/users-guide-emb/ch-xen.html > Thanks for pointing it out, I didn't realize drdb could do that. I think I might have gotten it mixed up earlier with a thread that discussed using rsync. That said, wouldn't using gluster alone be easier to configure and cheaper for almost equivalent redundancy? Easier because instead of running gluster raid 0 on top of DRBD raid 1, we can take out the DRBD layer and just use gluster to achieve the equivalent by distribute on replicate. More importantly there is the issue of cost, DRBD needs a pair of server per node for active-active. However, gluster allows me to get RAID "0.67" redundancy by "round robin" replicate. i.e. If every storage node has 2 mdraid 1 block devices md0 and md1, I can mirror Server1 md0 to Server2 md1, Server2 md0 to Server3 md1 and so forth. Theoretically capable of surviving up to 50% node failure if no two adjacent node fails together. This for the cost of N+1 as compared to DRBD's Nx2 cost. Please correct me if I miss out some other crucial consideration. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
On 8/4/2010 10:10 AM, Emmanuel Noobadmin wrote: > > derivative work or something along those lines. > >> the OpenSolaris or NexentaStor versions since you wouldn't be using much >> else >> from the system anyway. > > If I really have to, but I was hoping I wouldn't need to learn another > relatively similar OS and get myself confused and do something > catastrophic while in console one day. Especially since I'm way behind > schedule on picking up another programming language for projects my > boss wants me to evaluate. That's sort of the point of nexentastor which gives you a web interface to manage the filesystems and sharing since you don't need anything else. But the free community edition only goes to 12 TB. That might be enough per-host if you are going to layer something else on top, though. >> Snapshots and block-level de-dup are other features of zfs - but I think >> you'll lose that if you wrap anything else over it. Maybe you could >> overcommit an >> iscsi export expecting the de-dup to make up the size difference and use >> that as a block level component of something else. > > Honestly, I've no idea what all that was about until I go read them up > later although I understand vaguely from past reading that snapshot is > like a backup copy It is good for 2 things - you can snapshot for local 'back-in-time' copies without using extra space, and you can do incremental dump/restores from local to remote snapshots. > However, in my ideal configuration, when a VM host server dies, I just > want to be able to start a new VM instance on a surviving machine > using the correct VM image/disk file on the network storage and resume > full functionality. The VM host side is simple enough if its disk image is intact. But, if you want to survive a disk server failure you need to have that replicated which seems like your main problem. > Since bulk of the actual changes is to "files" in the virtual disk > file, having snapshot capabilities on the underlying fs doesn't seem > to be useful. ZFS checksum ensuring that all sectors/inodes of that > image file are error free seems more critical. Please do point out if > I am mistaken though! If you can tolerate a 'slightly behind' backup copy, you could probably build it on top of zfs snapshot send/receive replication. Nexenta has some sort of high-availability synchronous replication in their commercial product but I don't know the license terms. The part I wonder about in all of these schemes is how long it takes to recover when the mirroring is broken. Even with local md mirrors I find it takes most of a day even with < 1Tb drives with other operations becoming impractically slow. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
From: "Brunner, Brian T." > > >> 1) Insert CentOS install CD until you come to the first screen. > > >> 2) Open virtual console : Alt+F2 > > >> 3) # shred -vzn 65536 /dev/hda > > >> 4) Watch messages scroll by. Wait until it's finished (important), > > >> then post here to tell us the results. > > > Mean! > > And particularly useful to all the other people who follow > > instructions to use google search to find procedures. > Per shread's manual pages, this tends to fail for ext3 and other > log/journaled file systems. > Step 3 should instead be "badblocks -f -p 10 -w /dev/hda". The drive is > now ready for the new system to be installed. > mkfs.ntfs /dev/dha should suffice as well, and is much quicker. Maybe a quick dd if=/dev/zero of=/dev/hda bs=512 count=1 before, to clean the MBR...? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Introduction and request for help with virtualization
Does virt-manager show anything for the guest when connected to the kvm host? Sent from Android Mobile On 4 Aug 2010 16:31, "Kevin Chang" wrote: > Good morning everyone. This is my first post to this list. I am very new to > Linux so please bear with me. Also, English is not my first language so > please excuse me if I am unclear. > > I am trying to install CentOS Linux operating system in a virtualization > setup. I have already built four host machines with CentOS 5.5 and KVM > virtualization. I can install fine if I do a manual installation. I am now > trying to automate the process. To this goal, I have create multiple LVMs > inside my new volume group. The name of the volume group is vmstorage_vg. > The problem occurs when I try to run the installation. > > I found a script via google: > > > #!/bin/sh > > virt-install \ > -n calcnode01 \ > -r 1024 \ > -f /dev/vmstorage_vg/calcnode01 \ > --cdrom=/software/iso/CentOS-5.5_x86_64-boot.iso \ > --accelerate \ > --vnc \ > -x "ks=ftp://192.168.0.101/pub/ks/calcnode01.ks ip=192.168.0.101 > netmask=255.255.255.0 dns=192.168.0.20 gateway=192.168.0.1 text > console=ttyS0" > > When I start this script from the SSH terminal it starts but I cannot see > anything being installed. I entered the virsh console and see the > calcnode01 entry if I do a list. If I try to connect using virsh I do not > see anything. The kickstart was created from the anaconda file created from > the manual installation. I enabled the options to create the filesystems. > > I think the installation is waiting on some input but I cannot see any > console. I have tried with and without the "console=ttyS0" option. > > Thank you everyone for your time. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
On Wednesday, August 04, 2010 10:57:58 am Les Mikesell wrote: > Aren't we all pretty comfortable with using thousands of man-hours of > other people's work for free? And, his posts are a tiny percentage of > this thread and I can't see where anyone else has added much useful > content either, nor do I see much point in bringing up ethnicity. I feel this modified thread is valid in as so far as evaluating who should be helped. Generally I believe that one is as valuable as one helps his fellow man. At the same time helping someone who's not Willing to help himself is not good for anyone. And I'd rather err on the safe side. Technical subjects can often put people to sleep due to lack of understanding which results in fumbling and idiotic questions. To remotely label someone troll or whatever, Correctly, is not easy. Asking how to run a command even though there are man pages, web documents, books etc, does not in my mind make it less valid question, due to the "mind cloud" one can get engulfed in. It is far to easy to decide that people can easily find an answer themselves if they try. I don't often follow threads as I'm simply to busy. But every now and then I have a few seconds and if I see a question I can answer, I'll do it. Someone went as far as sending me an offline email saying that I should not help him. Again I'd rather err on giving too much help than too little. Maybe he's right in the assessment, I don't know. -- Bobby ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
Les Mikesell wrote: > On 8/4/2010 7:20 AM, Niki Kovacs wrote: >> Whit Blauvelt a écrit : >> >>> >>> So is the notion that "help your neighbor" is more Middle Eastern and >>> "dog eat dog" more, what, American? The Middle East currently has Al Qaeda, >>> Hizbolla, Hamas, the Taliban, the IDF ... all embracing a philosophy >>> for which "dog eat cog" would be too kind a label. I'm sure from some >>> perspectives the same thing can be said of US and NATO forces in the >>> area. >> >> I'm Austrian and I live in a small village in South France. I'm on >> excellent terms with my neighbour, who comes from a small village in >> Morocco. Sometimes, we help each other out to borrow salt, milk, flour, >> pepper or some other ingredient we forgot to buy in town, twelve >> kilometers away. >> >> I've read through a few messages of Mr Hadi Motamedi, and his attitude >> seems to be more like: hey, man, can you please come over to my flat and >> cook my dinner? > > Aren't we all pretty comfortable with using thousands of man-hours of > other people's work for free? And, his posts are a tiny percentage of > this thread and I can't see where anyone else has added much useful > content either, nor do I see much point in bringing up ethnicity. I agree that where he's from is irrelevant - we've seen the same of Indians, and French, I think... and more than enough lazy American idiots, as well. However, he is, indeed, pulling what I referred to in my proposed FAQ as "asking us to do his job for him". And, for that matter, if he actually *has* RHEL, he's presumably paid for it, and it's his *job*, for which he is presubably getting paid, and he wants us to do it for free. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
Emmanuel Noobadmin wrote, On 08/04/2010 11:33 AM: > Easier because instead of running gluster raid 0 on top of DRBD raid > 1, we can take out the DRBD layer and just use gluster to achieve the > equivalent by distribute on replicate. > > More importantly there is the issue of cost, DRBD needs a pair of > server per node for active-active. However, gluster allows me to get > RAID "0.67" redundancy by "round robin" replicate. > I missed this. > i.e. If every storage node has 2 mdraid 1 block devices md0 and md1, I > can mirror Server1 md0 to Server2 md1, Server2 md0 to Server3 md1 and > so forth. Theoretically capable of surviving up to 50% node failure if > no two adjacent node fails together. This for the cost of N+1 as > compared to DRBD's Nx2 cost. DRBD cost would still be N+1, not Nx2, if setup similarly, I think. If Gluster is doing the mirror of "Server1 md0 to Server2..." by itself, then yes adding DRBD to it would be a bit overkill, as I would be having DRBD setup to do something similar. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] WAS/CentOS 5.5 latest revisions seem really slow//Now Where are the Kernels?
On 04/08/10 10:08, JohnS wrote: > > > UPDATE ! > > Replying to my self those you see missing are not on Red Hats Public > Mirror Site so evidently those are not built to go in CentOs. > > I presume those come out in the fastrack repository? Can someone > correct me here if I am wrong. > No, they are internal Red Hat builds and are not publicly released. CentOS release every kernel that Red Hat releases. Typically Red Hat will only release a kernel when a security issue makes it pertinent to do so and in the mean time there are often a number of internal bug fix releases that don't get released to customers or the public. FasTrack typically contains trivial bug fixes that will get rolled into the next update set, but are made available early via the FasTrack channel to those that wish to consume them: https://rhn.redhat.com/errata/rhel-server-fastrack-errata.html > So effectively they not missing in action as I thought. Sorry Now they > would be a nice inclusion. > > John > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Introduction and request for help with virtualization
Am Mittwoch, den 04.08.2010, 11:30 -0400 schrieb Kevin Chang: > I found a script via google: > > > #!/bin/sh > > virt-install \ > -n calcnode01 \ > -r 1024 \ > -f /dev/vmstorage_vg/calcnode01 \ > --cdrom=/software/iso/CentOS-5.5_x86_64-boot.iso \ > --accelerate \ > --vnc \ > -x "ks=ftp://192.168.0.101/pub/ks/calcnode01.ks ip=192.168.0.101 > netmask=255.255.255.0 dns=192.168.0.20 gateway=192.168.0.1 text > console=ttyS0" > > When I start this script from the SSH terminal it starts but I cannot > see anything being installed. I entered the virsh console and see the > calcnode01 entry if I do a list. If I try to connect using virsh I do > not see anything. The kickstart was created from the anaconda file > created from the manual installation. I enabled the options to create > the filesystems. > > I think the installation is waiting on some input but I cannot see any > console. I have tried with and without the "console=ttyS0" option. > > Thank you everyone for your time. Kevin, since you use --vnc the console of the vurtual machine is using vnc, you can use virt-manager or virt-viewer to atttach a graphical console. +C ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Kerberized NFS4 w/AD 2008 R2
Is anyone currently using CentOS 5.5 with 2008 R2 AD authentication and a fully Kerberized NFSv4? If so would you mind sharing your configuration with me? I have been able to successfully get it working with Windows 2003 as discussed earlier on the list http://lists.centos.org/pipermail/centos/2010-July/096374.html With the exception that I had to use dynamic UIDs on the machine since we don't have Services for UNIX installed. Instead of going with a long drawn out certification of Windows 2003 R2 w/SFU, we plan to target our deployment in line with our Windows 2008 R2 campus deployment. I have followed everything that I did with Windows 2003 to get it working but NFSv4 w/Kerberos doesn't seem to work with 2008 R2 at all. No matter what I try I consistently get WARNING: Client not found in Kerberos database while getting initial ticket for principle NFS/hostn...@domain using keytab or ERROR: No credentials found for connection to server any help would be appreciated. I've been banging my head against a wall for a while now and may have damaged to many brain cells to see what's going wrong. -- James A. Peltier Systems Analyst (FASNet), VIVARIUM Technical Director HPC Coordinator Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca http://blogs.sfu.ca/people/jpeltier MSN : subatomic_s...@hotmail.com Gravity is a myth. The world just sucks! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Introduction and request for help with virtualization
On Wed, Aug 4, 2010 at 2:48 PM, Christoph Maser wrote: > > When I start this script from the SSH terminal it starts but I cannot > > see anything being installed. I entered the virsh console and see the > > calcnode01 entry if I do a list. If I try to connect using virsh I do > > not see anything. The kickstart was created from the anaconda file > > created from the manual installation. I enabled the options to create > > the filesystems. > > > > I think the installation is waiting on some input but I cannot see any > > console. I have tried with and without the "console=ttyS0" option. > > > > Thank you everyone for your time. > > > Kevin, > > since you use --vnc the console of the vurtual machine is using vnc, you > can use virt-manager or virt-viewer to atttach a graphical console. > > James and Cristoph: Thank you. It appears that it was a combination of the vnc option and virt-manager. In virt-manager I can see the console boot messages. I do not see the installation itself. I attached with VNC and then have see the installation. I will try now removing the vnc directive. To troubleshoot is now easier being able to see what is happening. Thank you again KC ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Introduction and request for help with virtualization
On Wed, Aug 4, 2010 at 2:48 PM, Christoph Maser wrote: > > since you use --vnc the console of the vurtual machine is using vnc, you > can use virt-manager or virt-viewer to atttach a graphical console. > > I was silly and did think that vnc was for the virtual nic. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to dual boot centos with redhat?
On 04/08/10 00:24, Whit Blauvelt wrote: > Fascinating. Could this be an AI, or a sort of Eliza? Perhaps its an alien > probe gathering data on our network infrastructure by methodically > generating questions to our lists. No human being would simultaneously need > to accomplish the above on three machines at once - certainly not with the > stated goal of moving an older CentOS to a USB stick, when CentOS isn't even > on two of the boxes. Here we are thinking we're being punked by an idiot, > missing the possibility that we're being punked by a space alien AI. Damn! You bet me to it! I've always had a faint suspicion that HADI was a bot. Perhaps used for nefarious Search Engine optimisation or maybe a misguided plugin to RT or InfraActive. Kal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] access to file system through web browser
Hi. I am trying to find "something" (php prefered) that I can stick onto a Centos apache server that would allow me to browse a selected file system by employees through a web-browser "explorer like" interface. I know I can do this through WinSCP (and have done so), but my problem is I have Linux, Windows and MAC clients and my knowledge of MAC's is rather limited. I can limit access to the (php) files to (ranges of) IP addresses, so security is reasonable ok and doing this through a web interface saves me time, too, as I only have to do this once, and security fixes is easy, too. Is there anything that would imitate a tree view like interface to browse a file system? Jobst -- "She said she loved my mind, though by most accounts I had already lost it." ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] access to file system through web browser
On 08/04/10 6:08 PM, Jobst Schmalenbach wrote: > Hi. > > I am trying to find "something" (php prefered) that I can stick onto a > Centos apache server that would allow me to browse a selected file system > by employees through a web-browser "explorer like" interface. enable apache directory indexes. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] access to file system through web browser
On 08/05/2010 02:21 AM, John R Pierce wrote: >On 08/04/10 6:08 PM, Jobst Schmalenbach wrote: >> Hi. >> >> I am trying to find "something" (php prefered) that I can stick onto a >> Centos apache server that would allow me to browse a selected file system >> by employees through a web-browser "explorer like" interface. > > enable apache directory indexes. If you don't have access to Apache configuration, you can try to create .htaccess with the following content: Options +Indexes -- Athmane Madjoudj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to dual boot centos with redhat?
Greetings, On 8/5/10, Kahlil Hodgson wrote: > On 04/08/10 00:24, Whit Blauvelt wrote: > > Damn! You bet me to it! I've always had a faint suspicion that HADI was > a bot. rgh.. I was just googling for some information on Snort IDS and the such. Now this has just made my life more miserable. Any suggestions for a true blue white intrusion detection system / identity protection systems please... (Please dont read any racism in this post. The colourfulness of the expression in the most eminent centos list is being experimented with and, seriously, could somebody point me to the thread on the IDS few months back, Thanks) Thanks, Regards Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] access to file system through web browser
On Thu, Aug 5, 2010 at 2:08 AM, Jobst Schmalenbach wrote: > > Hi. > > I am trying to find "something" (php prefered) that I can stick onto a > Centos apache server that would allow me to browse a selected file system > by employees through a web-browser "explorer like" interface. > > I know I can do this through WinSCP (and have done so), but my problem is I > have > Linux, Windows and MAC clients and my knowledge of MAC's is rather limited. > > I can limit access to the (php) files to (ranges of) IP addresses, so security > is reasonable ok and doing this through a web interface saves me time, too, as > I only have to do this once, and security fixes is easy, too. > > Is there anything that would imitate a tree view like interface to > browse a file system? > Webdav! Then you can mount the webdav "share" in windows/linux/mac(?) as a drive. > Jobst > > > > -- > "She said she loved my mind, though by most accounts I had already lost it." > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
On 8/4/10, Les Mikesell wrote: > That's sort of the point of nexentastor which gives you a web interface > to manage the filesystems and sharing since you don't need anything > else. But the free community edition only goes to 12 TB. That might be > enough per-host if you are going to layer something else on top, though. 12TB should be good enough for most use cases. I'm not planning on going up to petabytes since it seems to me at some point, the network will become the bottleneck. Again, I need to remember to look into nexenstor. > It is good for 2 things - you can snapshot for local 'back-in-time' > copies without using extra space, and you can do incremental > dump/restores from local to remote snapshots. That sounds good... and bad at the same time because I add yet another factor/feature to consider :D > The VM host side is simple enough if its disk image is intact. But, if > you want to survive a disk server failure you need to have that > replicated which seems like your main problem. Which is where Gluster comes in with replicate across servers. > If you can tolerate a 'slightly behind' backup copy, you could probably > build it on top of zfs snapshot send/receive replication. Nexenta has > some sort of high-availability synchronous replication in their > commercial product but I don't know the license terms. That's the thing, I don't think I can tolerate a slightly behind copy on the system. The transaction once done, must remain done. A situation where a node fails right after a transaction was done and output to user, then recovered to a slightly behind state where the same transaction is then not done or not recorded, is not acceptable for many types of transaction. >The part I wonder about in all of these schemes is how long it takes to recover > when the mirroring is broken. Even with local md mirrors I find it > takes most of a day even with < 1Tb drives with other operations > becoming impractically slow. In most cases, I'll expect the drives would fail first than the server. So with the propose configuration, I have for each set of data, a pair of server and 2 pairs of mirror drives. If server goes down, Gluster handles self healing and if I'm not wrong, it's smart about it so won't be duplicating every single inode. On the drive side, even if one server is heavily impacted by the resync process, the system as a whole likely won't notice it as much since the other server is still at full speed. I don't know if there's a way to shutdown a degraded md array and add a new disk without resyncing/building. If that's possible, we have a device which can clone a 1TB disk in about 4 hrs thus reducing the delay to restore full redundancy. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] access to file system through web browser
On Thu, Aug 5, 2010 at 04:08, Jobst Schmalenbach wrote: > > Hi. > > I am trying to find "something" (php prefered) that I can stick onto a > Centos apache server that would allow me to browse a selected file system > by employees through a web-browser "explorer like" interface. > > I know I can do this through WinSCP (and have done so), but my problem is I > have > Linux, Windows and MAC clients and my knowledge of MAC's is rather limited. > > I can limit access to the (php) files to (ranges of) IP addresses, so security > is reasonable ok and doing this through a web interface saves me time, too, as > I only have to do this once, and security fixes is easy, too. > > Is there anything that would imitate a tree view like interface to > browse a file system? > > Jobst > Here is a file manager that I started writing in PHP some years ago, but never finished: http://dotancohen.com/downloads/TerribleFile_0.7.php.txt The code is probably a mess, the whole idea was to learn PHP at the time and I've never gone back to clean it up. It's pretty usable, though. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 latest revisions seem really slow
On Tue, Aug 3, 2010 at 9:30 PM, JohnS wrote: > > You can do: > rpm -q --changelog kernel >> changelog.log \ > rpm -q --changelog kernel-2.6.18-194.8.1.el5 >> changelog.log > > To view the changelog for patches and BZs Applied to the kernel or any > rpm. As in load up the newest one and run the command. I see a lot of > changes between the newest one and the one (194.3.1) that you tried and > said solved it. I would creep on up in versions to the newest one you > can run with out the problem then file a bug report with a good > description of the problem and type of hardware also (i think important > for your problem). > Egad - on the CentOS mirror I checked (USC), there are no kernels between 194.3.1 and 194.8.1. If I just build kernels from the Linux archives, would those just work as-is under CentOS? I haven't actually done that in a while, but if it's moderately safe using the "standard" spec files (I haven't looked through the changelogs yet.) Mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] WAS/CentOS 5.5 latest revisions seem really slow//Now Where are the Kernels?
On Wed, 2010-08-04 at 00:41 -0700, Mark wrote: > On Tue, Aug 3, 2010 at 9:30 PM, JohnS wrote: > > > > You can do: > > rpm -q --changelog kernel >> changelog.log \ > > rpm -q --changelog kernel-2.6.18-194.8.1.el5 >> changelog.log > > > > To view the changelog for patches and BZs Applied to the kernel or any > > rpm. As in load up the newest one and run the command. I see a lot of > > changes between the newest one and the one (194.3.1) that you tried and > > said solved it. I would creep on up in versions to the newest one you > > can run with out the problem then file a bug report with a good > > description of the problem and type of hardware also (i think important > > for your problem). > > > > Egad - on the CentOS mirror I checked (USC), there are no kernels > between 194.3.1 and 194.8.1. Sun May 02 2010 Jiri Pirko [2.6.18-194.3.1.el5] Well that one you have. Why do you have it? Because I guess an @CentOS.org Hat decided to build that one while all the other ones were plain out skipped in-between? My ohh my the Heart and Soul was forgotten. All of 4 - FOUR of them. Effectively your stuck with the one you got that works or you have to learn to build your own from the red hat sources. > If I just build kernels from the Linux archives, would those just work > as-is under CentOS? I haven't actually done that in a while, but if > it's moderately safe using the "standard" spec files Maybe so be carefull. So insightfully what I do for my precious customers on CentOS is I actually build the updates from the RH Sources to keep them happy because some do like to plunder about when are updates coming out. Maybe the cache directory eatted them up? John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
> 3) # shred -vzn 65536 /dev/hda For future reference, man shred: NAME shred - overwrite a file to hide its contents, and optionally delete it SYNOPSIS shred [OPTIONS] FILE [...] DESCRIPTION Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] WAS/CentOS 5.5 latest revisions seem really slow//Now Where are the Kernels?
On Wed, 2010-08-04 at 04:49 -0400, JohnS wrote: > On Wed, 2010-08-04 at 00:41 -0700, Mark wrote: > > On Tue, Aug 3, 2010 at 9:30 PM, JohnS wrote: > > > > > > You can do: > > > rpm -q --changelog kernel >> changelog.log \ > > > rpm -q --changelog kernel-2.6.18-194.8.1.el5 >> changelog.log > > > > > > To view the changelog for patches and BZs Applied to the kernel or any > > > rpm. As in load up the newest one and run the command. I see a lot of > > > changes between the newest one and the one (194.3.1) that you tried and > > > said solved it. I would creep on up in versions to the newest one you > > > can run with out the problem then file a bug report with a good > > > description of the problem and type of hardware also (i think important > > > for your problem). > > > > > > > Egad - on the CentOS mirror I checked (USC), there are no kernels > > between 194.3.1 and 194.8.1. > > Sun May 02 2010 Jiri Pirko [2.6.18-194.3.1.el5] > Well that one you have. Why do you have it? Because I guess an > @CentOS.org Hat decided to build that one while all the other ones were > plain out skipped in-between? My ohh my the Heart and Soul was > forgotten. All of 4 - FOUR of them. > > Effectively your stuck with the one you got that works or you have to > learn to build your own from the red hat sources. > > > If I just build kernels from the Linux archives, would those just work > > as-is under CentOS? I haven't actually done that in a while, but if > > it's moderately safe using the "standard" spec files > > Maybe so be carefull. So insightfully what I do for my precious > customers on CentOS is I actually build the updates from the RH Sources > to keep them happy because some do like to plunder about when are > updates coming out. > > Maybe the cache directory eatted them up? UPDATE ! Replying to my self those you see missing are not on Red Hats Public Mirror Site so evidently those are not built to go in CentOs. I presume those come out in the fastrack repository? Can someone correct me here if I am wrong. So effectively they not missing in action as I thought. Sorry Now they would be a nice inclusion. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
On Tue, Aug 3, 2010 at 20:19, Rajagopal Swaminathan wrote: > Ondeed, considering the OP's past questions. y'know Middle Easterners > come with such questions all too frequently. Been there for about 6 > years and I guess Les was more than charitable with his kind donation > of such a wonderfully useful command ;) > I'm Middle Eastern and I subscribe to the list to search it, not to ask redundant questions. I'm still a noob and I did recently ask a question that I could not google, but your generalization is a bit broad. I should also note that Middle Easterners may likely subscribe more to the "help your neighbour" philosophy than the "dog eat dog" philosophy, which means that we might feel freer to ask a voluntary community such as this one than might a Westerner. That's a cultural difference, not Hadi being rude. Simple culture clash. Don't be so quick to judge him. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
Dotan you haven't put up with his inane queries that often contradict previous ones always with lacking information for nearly a year. I went through all his posts yesterday out if curiosity and there was indeed not one bit of research and usually lacking information for that which us trying to be accomplished. Several look like he copy pasted straight out of a helpdesk query. The responders to the list have generally got fed up if doing his job for him over the last year. If he'll pay an invoice I'll spend my time helping him further but only then ;-) James Sent from Android Mobile On 4 Aug 2010 10:57, "Dotan Cohen" wrote: > On Tue, Aug 3, 2010 at 20:19, Rajagopal Swaminathan > wrote: >> Ondeed, considering the OP's past questions. y'know Middle Easterners >> come with such questions all too frequently. Been there for about 6 >> years and I guess Les was more than charitable with his kind donation >> of such a wonderfully useful command ;) >> > > I'm Middle Eastern and I subscribe to the list to search it, not to > ask redundant questions. I'm still a noob and I did recently ask a > question that I could not google, but your generalization is a bit > broad. > > I should also note that Middle Easterners may likely subscribe more to > the "help your neighbour" philosophy than the "dog eat dog" > philosophy, which means that we might feel freer to ask a voluntary > community such as this one than might a Westerner. That's a cultural > difference, not Hadi being rude. Simple culture clash. Don't be so > quick to judge him. > > -- > Dotan Cohen > > http://gibberish.co.il > http://what-is-what.com > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] When should LVM be used?
On 31 July 2010 14:52, Drew wrote: >> Is there any reason to use LVM on a personal desktop install of >> CentOS? It seems to me, for my purposes, that LVM is just a pain in >> the neck -- although I've always just let CentOS set it up during the >> install in the past. I would like to be able to use parted to resize >> partitions when I want to, and also I'd like Vector Linux to be able >> to read and write data to the CentOS partition. Would I be missing >> something by not installing LVM, or is this mostly for server purposes >> anyhow? > > LVM adds flexability that regular partitioning can't. > Just to add some more info to the conversation. Yesterday i found out that if you have a modern SSD and are planning on using RHEL6 or CentOS6 then LVM will not support the "TRIM" ATA command thus there will be a significant decrease in the write perfomnace of the drive with time. Linux swap will use it but the only way to enable this feature is if your partitions are native ext4 and you use the "discard" option. Thus TRIM will not be enabled by a default install except for swap space. mike ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
On Wed, Aug 4, 2010 at 13:33, James Hogarth wrote: > Dotan you haven't put up with his inane queries that often contradict > previous ones always with lacking information for nearly a year. I went > through all his posts yesterday out if curiosity and there was indeed not > one bit of research and usually lacking information for that which us trying > to be accomplished. Several look like he copy pasted straight out of a > helpdesk query. The responders to the list have generally got fed up if > doing his job for him over the last year. > > If he'll pay an invoice I'll spend my time helping him further but only then > ;-) > > James > You are right, I am not familiar with the man in question so he may have a history. But I would still be careful with generalizations that all Middle Easterners may have such a quality. Anyway, back to lurking mode... -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
On Wed, Aug 04, 2010 at 12:56:47PM +0300, Dotan Cohen wrote: > I'm Middle Eastern and I subscribe to the list to search it, not to > ask redundant questions. I'm still a noob and I did recently ask a > question that I could not google, but your generalization is a bit > broad. > > I should also note that Middle Easterners may likely subscribe more to > the "help your neighbour" philosophy than the "dog eat dog" > philosophy, which means that we might feel freer to ask a voluntary > community such as this one than might a Westerner. That's a cultural > difference, not Hadi being rude. Simple culture clash. Don't be so > quick to judge him. Yes, the initial comment about Middle Eastern people was "a bit broad." Apologies that anyone would say that here. So is the notion that "help your neighbor" is more Middle Eastern and "dog eat dog" more, what, American? The Middle East currently has Al Qaeda, Hizbolla, Hamas, the Taliban, the IDF ... all embracing a philosophy for which "dog eat cog" would be too kind a label. I'm sure from some perspectives the same thing can be said of US and NATO forces in the area. On the other hand the free, open software community came out of the more free and open societies of the West, and a tradition of neighborly sharing that goes back to barn raisings and village greens and a whole bunch of customs which aren't "dog eat dog" at all. The problem with Hadi isn't cultural. He's a troll, posting to many lists at once questions that he's made up to annoy people - he can't possibly need to install a Red Hat partition on CentOS, Debian and Ubuntu all at once. We have Western trolls too. The trick is not to respond to them. Best regards, Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] force b/w printing
On Wednesday 04 August 2010 02:18:55 Janez Kosmrlj wrote: > but the user can still change back to color mode, if he wants to in the > print dialog. I want that they don't even have the option to print in color Have you tried modifying the PPD file to remove the color option? I mean, I would copy the original PPD file to a file named "whatever-NOCOLOR.ppd". Then I would create the second printer and assign this PPD file to it. I've never done it before but I think it should work as all the printer options the user is presented come from the PPD file. Let us know if that works. Regards, Jorge ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
Whit Blauvelt a écrit : > > So is the notion that "help your neighbor" is more Middle Eastern and "dog > eat dog" more, what, American? The Middle East currently has Al Qaeda, > Hizbolla, Hamas, the Taliban, the IDF ... all embracing a philosophy for > which "dog eat cog" would be too kind a label. I'm sure from some > perspectives the same thing can be said of US and NATO forces in the area. > I'm Austrian and I live in a small village in South France. I'm on excellent terms with my neighbour, who comes from a small village in Morocco. Sometimes, we help each other out to borrow salt, milk, flour, pepper or some other ingredient we forgot to buy in town, twelve kilometers away. I've read through a few messages of Mr Hadi Motamedi, and his attitude seems to be more like: hey, man, can you please come over to my flat and cook my dinner? Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to reformat a partition to ntfs?
Mathieu Baudier wrote: >> 3) # shred -vzn 65536 /dev/hda > > For future reference, man shred: > > NAME >shred - overwrite a file to hide its contents, and optionally delete it > > SYNOPSIS >shred [OPTIONS] FILE [...] > > DESCRIPTION >Overwrite the specified FILE(s) repeatedly, in order to make it harder >for even very expensive hardware probing to recover the data. And doing that to /dev/hda would destroy everything on the whole drive, not just one partition. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
Emmanuel Noobadmin wrote: > > ZFS is a local file system as far as I understand it. It's by Solaris > but there are two efforts to port it to Linux, one through userspace > via Fuse and the other through kernel. It seems like the Fuse approach > is more matured and at the moment slightly more desirable from my POV > because no messing around with kernel/recompile needed. I thought the GPL on the kernel code would not permit the inclusion of less restricted code like the CDL-covered zfs. For a network share, why not use the OpenSolaris or NexentaStor versions since you wouldn't be using much else from the system anyway. > The main thing for me is that ZFS comes with inode/sector ECC > functionality so that would catch "soft" hardware errors such as a > flaky data cable that's silently corrupting data without any > immediately observable effect. > > It also has RAID functionality but I've seen various reports of failed > zpool that couldn't be easily recovered. So my most likely > configuration is to configure glusterfs on top of zfs (for the ECC) on > top of mdraid 1 (for redundancy and ease of recovery) Snapshots and block-level de-dup are other features of zfs - but I think you'll lose that if you wrap anything else over it. Maybe you could overcommit an iscsi export expecting the de-dup to make up the size difference and use that as a block level component of something else. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
John R Pierce wrote: > On 08/03/10 11:31 PM, Rajagopal Swaminathan wrote: >> But then is ZFS a Cluster filesystem at all like GFS2/OCFS? Haven't >> studied that angle as yet. > > its not. and, afaik, the linux implementation of ZFS is not very well > supported, I certainly wouldn't commit to a project relying on it > without a LOT of testing. ZFS is very stable on Solaris, and I > understand its working quite well with FreeBSD > > Supposedly the new btfs for linux will be the choice. i'll remain > skeptical of that until its proven itself in varied production > environments by others. I thought there was a small limit on the number of hard links in btfs - that might make it unsuitable for general purpose use. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
On Wed, Aug 04, 2010 at 07:47:34AM -0400, Whit Blauvelt wrote: > So is the notion that "help your neighbor" is more Middle Eastern and "dog > eat dog" more, what, American? The Middle East currently has Al Qaeda, Please, people, could you take this off-list? -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] who uses Lustre in production with virtual machines?
Emmanuel Noobadmin wrote, On 08/03/2010 11:13 AM: > From what I understand, I cannot do the equivalent of network RAID 1 > with a normal DRBD/HB style cluster. Gluster with replicate appears to > do exactly that. I can have 2 or more storage servers with real time > duplicates of the same data so that if any one fails the cluster does > not run into problem. By using gluster distribute over pairs of > server, it seems that I can also easily add more storage by adding > more pairs of replicate server. To have more than one active server with DRBD (or other disk type shared between active machines) you need to be using a file system which supports shared disk resources. http://www.drbd.org/docs/about/ http://www.drbd.org/users-guide-emb/s-dual-primary-mode.html http://www.drbd.org/users-guide-emb/ch-gfs.html http://www.drbd.org/users-guide-emb/ch-ocfs2.html and perhaps using Gluster (Raid0 on net) with DRBD (Raid 1 on net) as disk space to get HA into Gluster? http://www.drbd.org/users-guide-emb/ch-xen.html Note that it has been a while since I have ran DRBD on a set of systems and I only ran in active-passive with ext3, so I only know about the resources above that someone would want to look at. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Intel Graphics Media Accelerator 4500MHD and dual monitors
Hi All, Anyone know if the Intel Graphics Media Accelerator 4500MHD will support dual monitors with CentOS ? Thanks in advance /Kevin Sent from my iPad ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to dual boot centos with redhat?
> Here we are thinking > we're being punked by an idiot, missing the possibility that > we're being punked by a space alien idiot. Fixed *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to dual boot centos with redhat?
This sounds like a gen-u-ine spammer. Can the mailing list be set to recognize and flag particular senders (Hadi for example), and reply such with a page of links to FAQs, RTFM's and list-purpose/posting guidelines? > Hadi's emails go straight to trash for me but I see responses > to his queries. He regularly posts similar questions to three > lists to which I subscribe: > > http://lists.centos.org/pipermail/centos/2010-August/097561.html > On my centos machine, I need to install redhat on one of its > partitions and so make it dual boot. Can you please let me > know how this can be accomplished? > > http://lists.debian.org/debian-user/2010/08/msg00106.html > On my debian machine, I need to install redhat on one of its > partitions and so make it dual boot. Can you please let me > know how this can be accomplished? > > https://lists.ubuntu.com/archives/ubuntu-users/2010-August/224844.html > On my ubuntu machine, I need to install redhat on one of its > partitions and so make it dual boot. Can you please let me > know how this can be accomplished? *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dogs, trolls, and neighborly free/open source
On 8/4/2010 7:20 AM, Niki Kovacs wrote: > Whit Blauvelt a écrit : > >> >> So is the notion that "help your neighbor" is more Middle Eastern and "dog >> eat dog" more, what, American? The Middle East currently has Al Qaeda, >> Hizbolla, Hamas, the Taliban, the IDF ... all embracing a philosophy for >> which "dog eat cog" would be too kind a label. I'm sure from some >> perspectives the same thing can be said of US and NATO forces in the area. >> > > I'm Austrian and I live in a small village in South France. I'm on > excellent terms with my neighbour, who comes from a small village in > Morocco. Sometimes, we help each other out to borrow salt, milk, flour, > pepper or some other ingredient we forgot to buy in town, twelve > kilometers away. > > I've read through a few messages of Mr Hadi Motamedi, and his attitude > seems to be more like: hey, man, can you please come over to my flat and > cook my dinner? Aren't we all pretty comfortable with using thousands of man-hours of other people's work for free? And, his posts are a tiny percentage of this thread and I can't see where anyone else has added much useful content either, nor do I see much point in bringing up ethnicity. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos