Re: Problems with Debian 6.0.3 and ESXi5.0

2012-01-18 Thread James Robertson
 I got a serious problem with a Debian install on an ESXi 5.0 Server.
 Debian installs fine and seems to run fine, but the harddisk performance is
 really low.
 I got latency times of about 44 seconds, tested with bonnie++.

 What I´ve done:
 - New machine in ESXi, harddisk controller LSI Parallel (Debian uses the
 LSI53c1030 driver (mptlinux v 3.04.12))
 - hdparm -i /dev/sda says:
 /dev/sda
 SG_IO bad / missing sense data.

 The latest drivers from LSI are 4.28. I don´t know if it is a driver problem
 oder VMWare Problem.
 I also did a new install with harddisk controller setting LSI SAS, but no
 performance improvement.

 The VMWare ESXi Server should be alright, because a SLES11 Instance that
 runs on the same machine and same datastore performs well.
 LSI provides new drivers (v 4.28) but RHEL/SLES only and a conversion via
 alien and later install of the deb-File brought no change.

 Anyone got a clue how to get this running?

Have you installed vmware tools?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/camaloy9i9r1pku_j4xhjwhjowbo-ga_i_b--mqmk40khcwv...@mail.gmail.com



Re: Backup script

2011-06-01 Thread James Robertson
 Hi :)

 I'm writing a script to backup the 4 Linux installs and the MBRs on my
 machine.

 Is there a way to copy all 4 Linux by running one of those installs?

 With a lack of knowledge I would backup the 3 Linux that aren't running,
 by the running Linux and than boot another Linux install, to backup the
 previously running Linux.

 Regards,

 Ralf



Unless your doing something special like taking and image of the installs
using dd or something then there is no real reason you cannot backup
everything in one job including the running linux install.

Provide more specific information and you might get a better answer.


Re: Backup script

2011-06-01 Thread James Robertson


 
  # cd /mount_point_linux_root_directory
  # tar czf /path_for_backups/backup_name.tar.gz *
 



Backup up your running machine using tar is fine but you should probably
exclude some directories.

Something like this would do (you may want to remove some of the excludes
like logs for example).

cd /
tar -czf /backups/linux1.tar.gz ./ --exclude=backups --exclude=tmp
--exclude=var/tmp --exclude=var/log --exclude=var/cache
--exclude=proc --exclude=mnt --exclude=media --exclude=sys

Tar's --one-file-system argument could also prove useful in your situation.
 Check the man page.

You could then write a simple for loop to backup all your mounted Linux
installs.


Re: Backlight mystery - anyone shed light?

2011-04-22 Thread James Robertson
I'm taking a stab in the dark here (pun intended)...

do you happen to have a /run directory?

I had some issues with devices not being detected on boot recently which
turned out to be related to udev attempting to read from /run.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621036

In my case I removed /run and everything was back to normal.  If you have no
/run then sorry for the dull response :)


Re: apt-get trying to remove manually installed packages

2011-03-29 Thread James Robertson



 Please post the full output of 'apt-get dist-upgrade' here, otherwise we
 can only guess.



I waited a few days and did an apt-get update and dist-upgrade and the
manually installed packages that were previously a problem were no longer
going to be removed.  So the problem is solved but I do not know why apt
ignored my manual selections at the time?


apt-get trying to remove manually installed packages

2011-03-23 Thread James Robertson
I am running Sid.

while doing a dist-upgrade apt-get wants to remove a number of packages that
are manually installed.

One example is rxvt-unicode which I manually installed.  I have run apt-get
unmarkauto rxvt-unicode to ensure it's set to manual but it keeps wanting
to remove it during dist-upgrade.

How can I prevent apt from removing my manually installed packages?


Re: Unable to mount [device] Not Authorized

2011-02-18 Thread James Robertson


 I have configured policykit before.

 I have /etc/polkit-1/localauthority/50-local.d/50-localauthority.conf
 with the contents:
 [filesystems mount internal privs]
 Identity=unix-group:mygroup
 Action=org.freedesktop.udisks.filesystem-mount-system-internal
 ResultAny=no
 ResultInactive=no
 ResultActive=yes

 It enabled me to mount my internal drives in nautilus without typing
 the admin password. But it doesn't work now.




Perhaps try this?

make sure udisks package is installed.

vi /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
Edit the section
action id=org.freedesktop.udisks.filesystem-mount-system-internal
change...
allow_activeauth_admin_keep/allow_active
to...
allow_activeyes/allow_active

But if your running Sid then it might be related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597937

I have been holding policykit but as you mention you cannot due to
dependencies then I am not sure what to suggest sorry.


Re: Unable to mount [device] Not Authorized

2011-02-18 Thread James Robertson

 I have been holding policykit but as you mention you cannot due to
 dependencies then I am not sure what to suggest sorry.


Sorry, that should say holding consolekit.


Show why package is being installed or show which installed package depends on it.

2011-02-13 Thread James Robertson
I would like to know why a certain package is going to be installed or at
least find out which package installed on my system is depending on it.

This came about as I was upgrading my Sid Laptop and noticed that it wanted
to install Hal during an apt-get dist-upgrade.  I am using consolekit and
policykit and did not think I should need Hal anymore.  I would rather
identify the package depending on it an look for alternatives.

I tried apt-rdepends but frankly got a little lost with it's usage in my
situation.

I also tried this horrible hack:

for i in $(dpkg -l | awk '{print $2}') ; do apt-cache show $i | grep -i hal
| grep Package ; done

Thanks.


Re: Show why package is being installed or show which installed package depends on it.

2011-02-13 Thread James Robertson

 aptitude why $package-name
 OR
 aptitude why $search-term-for-root-pkgs $package-name

 aptitude why $package-name == aptitude why '~i' $package-name
 --
 Boyd Stephen Smith Jr.   ,= ,-_-. =.


Thanks, is there an equivalent of this using apt.  I can of course use
aptitude but I am curious about apt since I use that.


Re: Quiet option for ifup/ifdown (dhcp)

2011-01-29 Thread James Robertson
On 29 January 2011 12:38, David Parker dpar...@utica.edu wrote:

  dhclient has a quiet option but because ifup/ifdown calls it I haven't
  been able overide this.

 ifup must get called from a script, so you could probably just edit the
 script and suppress the output from ifup.

 - Dave

Thanks for the pointer.

Found what I needed in /etc/init.d/networking.

And sent the relevant ifup and ifdown lines to  /dev/null 21


Quiet option for ifup/ifdown (dhcp)

2011-01-28 Thread James Robertson
I am sharpening up my boot screen on Debian Sid using an
lsb-base-logging.sh script which works well.

However when dhclient runs, which I believe is called by ifup and
ifdown it outputs dhclient details to stout and makes my pretty
screen not so pretty.

dhclient has a quiet option but because ifup/ifdown calls it I haven't
been able overide this.

Obviously this is purely aesthetic and affects nothing important on
the system but if anyone has a suggestion I would appreciate it.

Regards,

James


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTim=nheumwaxoyji2wv7fbf1qc-gzert8g9vu...@mail.gmail.com