Jump to content

dude67

OTW
  • Posts

    1155
  • Joined

  • Last visited

Posts posted by dude67

  1. Point 2 I can probably help you with - but don't add extra disks to the existing volume group, else they will be a part of it and you won't have a backup. You'd need to make a second volume group for the additional disks, and I'm sure you can do lvm snapshots from the "usable" disk to the "backup" disk. Of course, if internal, means you're exposed in the event of a fire or your machine gets stolen. If attached via usb, then you'll have some sort of resilience since you could move it away to another building. It depends what you want to achieve :)

    Ok, I just realized when going through all the webinterface options that I cannot disengage the second harddrive (sdb1) once I've added it to a VG, can I? In addition to that I've already transferred a lot of stuff there and I would not like to do that again - if I have a choice. But can I change the size of the volume group and drop one hdd from it?

     

    Is there anything I can do?

  2. Give me a bit of time for points 1 and 2, maybe this week I can have something for you.

    That would be great! In the meanwhile, I will try to learn by doing and from their forum (which is not the busiest forums I've seen).

     

    Point 3 I can't, I don't have a PS3, sorry :)

    Man, you've got to get one! I don't know what I'd do without one. :lol2:

  3. OK, I've got it installed and I have made several shares on it. :thumbs:

     

    I would need to do a few things. I haven't been able to figure them out myself, so I turn to you again.

     

    1) I would like to set credentials to allow access depending on the group. I have set a few groups (in addition to the username-groups dude67.dude67 etc.): family (all family members have access) and adults (me and my wife have access). I have added the same users and groups in Openfiler and Mandriva. But whenever I set the share access control mode to Controlled access and set the names' and groups' rights (as described above) I cannot mount the drives (shares) in Mandriva.

     

    I have tried editing /etc/fstab and from sabma config in MCC, but I always get this:

    $ sudo mount -v /home/levyasema/videot/dvd
    
    mount.cifs kernel mount options: unc=//192.168.254.1\levyasema.videot.dvd,user=dude67,ver=1,rw,credentials=/etc/samba/auth.192.168.254.1.dude67,ip=192.168.254.1,pass=********
    mount error(5): Input/output error
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    

    As you can see, I've set up samba password file, but I have also tried to add the credentials directly into /etc/fstab. However the results are the same

     

    BTW do you know what the user and usergroup "96" is? When I have set share access control mode to public guest access, I see this user and usergroup listed in my mandriva box:

    drwxrwsrwx+ 2 96	96	0 2009-10-28 17:06 dvd/

    It must have something to do with the public guest access control mode, but I seem to have some problems renaming or creating files as myself. I need root user rights in order to create a new folder...

    [dude67@localhost new]$ ls -la
    total 0
    drwxrwsr-x+ 2 96 96 0 2009-10-31 15:22 ./
    drwxrwsrwx+ 3 96 96 0 2009-10-31 15:22 ../
    [dude67@localhost new]$ mkdir second
    mkdir: cannot create directory `second': Permission denied
    [dude67@localhost new]$ sudo mkdir second
    Password:
    [dude67@localhost new]$ ls -la
    total 0
    drwxrwsr-x+ 3 96 96 0 2009-10-31 15:23 ./
    drwxrwsrwx+ 3 96 96 0 2009-10-31 15:22 ../
    drwxrwsr-x+ 2 96 96 0 2009-10-31 15:23 second/
    [dude67@localhost uusi]$
    

     

    2) I haven't figured out yet how to back up the whole contents of this system. Perhaps to an outside network storage (WD MyBook WE I) or to the second hard drive. I've currently added both drives into this LVM, but I can now easily drop it from this current volume. :D

     

    3) Does anyone know if I can make the openfiler drives into media server PS3 would understand? If not, I should be able to install this in openfiler: http://code.google.c...ps3mediaserver/

  4. Thanks Ian - certainly something to consider.

     

    But if I understood correctly, the LVM enables adding more physical disks to one partition and changing the size of partitions independently from disk sizes. But if I have two equal size disks that I'm making into a RAID1 array, there is only one physical disk I need to configure. What is the benefit of LVM, when I have only one disk? Or are you suggesting this as an alternative to the option of leaving the RAID1 out and just adding them both to my total capacity (1.5 + 1.5 TB)? Adding them into an LVM of 3TB (total size) or let's say 3 partitions 1TB each

     

    And what is an LVM snapshot?

  5. My first try with the Openfiler was a bad burn. I downloaded the image again and burned it again, but didn't have the time to install it yesterday. Now I got no errors in the burn phase and am ready to try installing it tonight.

     

    I managed to install the drives OK as I could see them perfectly in my BIOS when I set the boot order. So that part should be OK.

     

    Now I'm contemplating, whether I should make the system a RAID1 mirror or just extend the capacity with the second 1.5TB drive...

     

    I'll keep you posted.

  6. Yep, I agree with that "warning" totally. It is more likely for me to sc**w up the installation myself when e.g. updating Mandriva every six months, than it is for the HD to fail. I may accicentally format /home or leave my /storage out of my setup and therefore delete the partition. If that happens, I don't have anything: I have only perfectly mirrored empty disks.

     

    I am hoping I can come up with an idea of mirroring the drives and perhaps making back-ups on external drive (my 1TB WD MBWE).

  7. OK, thank you both.

     

    I've now got the two 1,5 TB drives and I am thinking of leaving the current drive (200GB) as an option to boot from (change the boot order of drives in BIOS). If I wish to boot to either Mandriva or WinXP, I can do that. But this hw would act primarily as my network storage server.

     

    I'm thinking of installing the Openfiler, it seems easy enough. I'll go through the pages (installation guides) and do the installation. Let's see, if I have questions afterwards... :D

  8. I am looking to build a network storage drive that I can control 100% myself. I already have WD mybook WE 1TB drive, but there are problems with the rights of the drives and I cannot get an SSH connection to that drive. So I would like to have a NAS I can control fully.

     

    I would like to use this network storage as a storage for all home files (photos, videos, music, documents etc.). I currently don't have any need for an FTP server on the internet, but I would like to keep that possibility open. The drive must be accessible in my (w)lan from PCs running Linux as well as WinXP and Vista (or soon Win7).

     

    I have a tabletop PC (number 3 in my sig) that I could turn into a network drive. It currently has a 200GB drive with both Mandriva 2009.1 and WinXP Home (dual boot), but It's left almost unused currently. This PC is connected to a WLAN AP so the traffic will all go through WLAN (802.11g) "bottleneck". I will also need to consider if the power source is big enough and if the cooling in the case is adequate.

     

    I'm thinking of buying two 1 or 1.5 TB drives that I would RAID for redundancy reasons. I could:

    i) install two additional drives into that frame and leave the 200 GB drive and Mandriva on it as is. The additional drives would be seen as one (RAID1) extra network drive. I would use the current Mandriva 2009.1 as the OS for the network drive system.

    ii) discard the 200GB drive and set one of the new drives to boot as default from BIOS. I can leave the 200GB drive in there if I would like to boot to that for some reason

     

    Another option is naturally to buy an NAS case, but it always comes with an OS of itself and some are easier to "hack" than others. I would very much like to go with the system I know best: Mandriva Free.

     

    Any thoughts and advice?

  9. Not solved.

     

    I tried manually some of the quirks mentioned in here: http://web.archive.o...uspend-try.html (thanks David for the link), but at least the few that I tried didn't work.

    I tried e.g. this one, with a little different outcome:

    pm-suspend --quirk-vbestate-restore --quirk-s3-bios --quirk-s3-mode

    The system came to (I managed to unlock the screen), but I think plasma crashed. At least the desktop items didn't work and the icons on the panel disappeared. One weird thing was that when I typed "mcc" in konsole, the system didn't recognize the command.

     

    Had to shut it down from the power button as the Ctrl+Alt+Backsp didn't work and Ctrl+Alt+Del gave me black screen with the text saying something about not beeing able to shutdown (or power down).

     

    Seems I cannot use Suspend to RAM on this hardware. If anyone has managed to make that work on ACER ASPIRE 7530 (not 7530G), let me know.

  10. My problem is recovering from suspend to RAM (sleep). I get the screensaver, but it won't close the screensaver when I key-in my password. And when I hit Ctrl+Alt+F1 I get the logon: but I cannot get in. I don't even get the part where it says "password". The only way to recover from that is to reboot from power-button. Not good. :huh:

     

    I was digging a little deeper... It seems that Mandriva 2009.1 uses pm-utils for sleep and hibernation.

     

    I don't know what is causing all these problems, but I think this may be the place to start looking:

    /usr/lib/pm-utils/sleep.d/

    From here I can see list of utils:

     

    -rwxr-xr-x 1 root root 2490 2009-04-16 16:43 00auto-quirk*
    -rwxr-xr-x 1 root root 274 2009-04-16 16:43 00logging*
    -rwxr-xr-x 1 root root 203 2009-04-16 16:43 00powersave*
    -rwxr-xr-x 1 root root 737 2009-04-16 16:43 01bootloader*
    -rwxr-xr-x 1 root root 157 2009-04-16 16:43 06mysqld*
    -rwxr-xr-x 1 root root 159 2008-12-29 18:53 07anacron*
    -rwxr-xr-x 1 root root 391 2009-04-16 16:43 10network*
    -rwxr-xr-x 1 root root 2780 2009-04-16 16:43 15sound*
    -rwxr-xr-x 1 root root 1941 2009-04-16 16:43 30pcmcia*
    -rwxr-xr-x 1 root root 4624 2009-04-16 16:43 40xlock*
    -rwxr-xr-x 1 root root 664 2009-04-16 16:43 49bluetooth*
    -rwxr-xr-x 1 root root 991 2009-04-16 16:43 55NetworkManager*
    -rwxr-xr-x 1 root root 335 2009-04-16 16:43 75modules*
    -rwxr-xr-x 1 root root 391 2009-04-16 16:43 90chvt*
    -rwxr-xr-x 1 root root 455 2009-04-16 16:43 90clock*
    -rwxr-xr-x 1 root root 129 2009-04-16 16:43 91laptop-mode*
    -rwxr-xr-x 1 root root 984 2009-04-16 16:43 92disk*
    -rwxr-xr-x 1 root root 1098 2009-04-16 16:43 94cpufreq*
    -rwxr-xr-x 1 root root 297 2009-04-16 16:43 95led*
    -rwxr-xr-x 1 root root 2286 2009-04-16 16:43 98smart-kernel-video*
    -rwxr-xr-x 1 root root 5361 2009-04-16 16:43 99video*
    

    I'm now thinking that it's either the video (files 98 or 99) or then wlan (for which I don't seem to have a file here).

    Maybe it's the file 10netork that has the info:

     

    #!/bin/sh
    
    . "${PM_FUNCTIONS}"
    
    
    suspend_network() {
    stopservice netfs
    stopservice nfs
    stopservice network
    return $?
    }
    
    resume_network() {
    restartservice network
    service network-up start
    restartservice nfs
    restartservice netfs
    return $?
    }
    
    case "$1" in
    	hibernate|suspend)
    	suspend_network
    	;;
    	thaw|resume)
    	resume_network
    	;;
    	*)
    	;;
    esac
    
    
    exit $?

     

    But I really have no idea what the problem is...

  11. OK, the gparted worked fine. I managed to enlarge swap while keeping it on it's place between / and /home partitions. Now I have some 4.9 gigs swap. :thumbs:

     

    But that didn't help with the suspend to RAM problem. Now I get the system kinda freezing in the screensaver screen with the login details. I can type my password there, but when I hit Enter, nothing happens. The images keep changing in the screensaver and I can move my mouse around, but other then that, nothing happens. So something is wrong.

     

    On my laptop the physical RAM is 3 GB, and my swap is 3.2 GB. Suspend to RAM (the basic, kernel-based one) is working fine- no need for wsusp or tuxonice.

     

    What's that "basic, kernel-based one" Suspend to RAM you mentioned scarecrow?

  12. As scoonma said gparted can do it but drakdisk cannot.

    With drakdisk you could shrink /home and then add a second swap partition after it, Linux has no problem using multiple swap partitions.

    Hum, but I don't know if it can suspend to multiple swap partitions. :oops:

    Yep, thanks Ken, I will give gparted a go as I said. I will use it to resize /home - there should not be anything critically important on that new laptop, but I would hate to mess it up as I would have to do all that installation work again...

     

    So if I understand correctly, the system _should_ be OK even if I resize the /home partition (I do have a lot of free space there) from the start (with gparted).

     

    BTW You don't have 4 gigs of swap, you have 4088511 kilos of swap and 4 gigs is 4194304 kilos.

     

    The modern rule of thumb is slightly more swap than ram if you want to use suspend to ram, but not double.

     

    Ken

    OK, but how much is 'slightly more' - I realize that I have just a bit less than 4 gigs of swap, but I never calculated it when installing the system. I never really do the partitioning precisely - I just use an estimate (with the Mandriva diskdrake slider)... B) Perhaps I should be more careful in the future :)

  13. What did you think I meant with the topic title. :P

     

    I have a laptop with some 4 gigs of RAM. When installing the system, I didn't think I'd need more then 4 gigs of swap, but now I'm thinking that I may have been wise to reserve the full 8 GB worth of swap (double the size of RAM)... I'm having problem with Suspend to RAM as the system now hangs on me when coming to from Suspend to RAM. It stated something about the swap, but I didn't write it down and I cannot find any such note in the syslogs either.

     

    Here's my current disk - is it possible to double the size of swap? If I understand correctly, I cannot resize /home partition from the beginning - or is it possible?

     

     Device Boot Start 	End #cyls	#blocks Id System
    /dev/sda1 	0+ 1305- 1306- 10485760 27 Unknown
    /dev/sda2 * 1305+ 10881- 9576- 76918780	7 HPFS/NTFS
    /dev/sda3 	10882 30400 19519 156786367+ 5 Extended
    /dev/sda4 	0 	- 	0 	0	0 Empty
    /dev/sda5 	10882+ 12428	1547- 12426246 83 Linux | root
    /dev/sda6 	12429+ 12937 	509- 4088511 82 Linux swap / Solaris | swap
    /dev/sda7 	12938+ 30400 17463- 140271516 83 Linux | /home
    

    Partitions from sda1 to sda3(4) are for Vista.

  14. Choose all the correct sources with EasyURPMI (including the plf sources) first. Then use XFdrake and re-choose the correct graphic card and the system should suggest to download a better driver for your card.

     

    Is it ATI, Nvidia, Intel or something else?

  15. If there is still a problem, it may be that your video card isn't supported by the default driver for that card. Try using the VESA driver and then try startx again.

     

    If that works, install urpmi sources (with EasyURPMI) including the plf sources and you should get the latest (and/or correct) drivers for your card.

  16. Progress: I managed to add the printer for the laptop in Mandriva! :thumbs: In the end it was quite simple with CUPS.

     

    But I have not been able to add the printer for Vista. I would need it for Vista if my son wants to play some windows games he needs to print from (in the past he needed printing for Bob the Builder game and for one Batman kiddie game).

     

    I need the printer mostly for my Mandriva, but it would eventually be nice to be able to get it to work in Vista as well. Anyway, this has partly been solved.

  17. No luck. Could someone, who's been able to print over network (be it over two linux machines or printing from windows to linux), post the conf file (/etc/cups/cupsd.conf) here? If possible from a Mandriva 2009.1 installation... I think the problem may be on my cups setup.

     

    I'd like to see what's wrong with my setup. It cannot be the firewall on my Mandriva setup as I've tested with the firewall disabled. And I've tried on my laptop with both Mandriva and Vista with no luck.

  18. OK, tnx David.

     

    I will check and redo the installation on Vista. I think I did it pretty much like you discribed it, but I think I have the printer on RAW not LPR. Is that the problem then?

     

    Oh, and another thing: Why did you change the port to 515?

     

    I have also been unable to set the printer in Mandriva 2009.1 on the same hardware (dual boot laptop). That would suggest some kind of problem on the other end.

×
×
  • Create New...