Adult Content Warning

This community may contain adult content that is not suitable for minors. By closing this dialog box or continuing to navigate this site, you certify that you are 18 years of age and consent to view adult content.

Linux / Unix / Solaris

Discussion in 'Technical Board' started by Nettdata, Dec 1, 2009.

  1. Pow

    Pow
    Expand Collapse
    Experienced Idiot

    Reputation:
    0
    Joined:
    Oct 27, 2009
    Messages:
    177
    I've been using openfiler as a software raid for a device in my lab, and I'm stuck. I had a drive go into an errored state after a power outage, and I can't figure out how to rebuild the array from the GUI. I installed the damned thing on a GUI because I'm terrible an linux, but it looks like it leaves me no choice.

    Any clue on how to turn those 3 spare drives into their respectable 'removed' drives. I thought they would be automatically identified but they were given different drive labels after I removed them. I removed the drives because I was told drive 21 was bad, but had no idea which one was drive 21. So I removed 3 drives and screwed myself.

    /dev/md0:
    Version : 00.90.03
    Creation Time : Fri Aug 13 14:57:07 2010
    Raid Level : raid5
    Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
    Raid Devices : 24
    Total Devices : 24
    Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Wed Jan 26 16:46:09 2011
    State : active, degraded, Not Started
    Active Devices : 21
    Working Devices : 24
    Failed Devices : 0
    Spare Devices : 3

    Layout : left-symmetric
    Chunk Size : 64K

    UUID : d4acf1f3:425bc475:4abbbdde:ec98f694
    Events : 0.8199173

    Number Major Minor RaidDevice State
    0 0 0 0 removed
    1 8 17 1 active sync /dev/sdb1
    2 8 33 2 active sync /dev/sdc1
    3 8 49 3 active sync /dev/sdd1
    4 8 65 4 active sync /dev/sde1
    5 8 81 5 active sync /dev/sdf1
    6 8 97 6 active sync /dev/sdg1
    7 8 113 7 active sync /dev/sdh1
    8 8 129 8 active sync /dev/sdi1
    9 8 145 9 active sync /dev/sdj1
    10 8 161 10 active sync /dev/sdk1
    11 8 177 11 active sync /dev/sdl1
    12 8 193 12 active sync /dev/sdm1
    13 8 209 13 active sync /dev/sdn1
    14 8 225 14 active sync /dev/sdo1
    15 8 241 15 active sync /dev/sdp1
    16 65 1 16 active sync /dev/sdq1
    17 65 17 17 active sync /dev/sdr1
    18 65 33 18 active sync /dev/sds1
    19 65 49 19 active sync /dev/sdt1
    20 0 0 20 removed
    21 65 81 21 active sync /dev/sdv1
    22 65 97 22 active sync /dev/sdw1
    23 0 0 23 removed

    24 8 1 - spare /dev/sda1
    25 65 65 - spare /dev/sdu1
    26 65 113 - spare /dev/sdx1
     
  2. effinshenanigans

    effinshenanigans
    Expand Collapse
    Emotionally Jaded

    Reputation:
    145
    Joined:
    Oct 19, 2009
    Messages:
    1,950
    Location:
    CT
    My old laptop (an Acer I bought before I went to college in '03) has been sitting collecting dust for the past couple months because my girlfriend got a new laptop with Windows 7 that isn't horribly slow.

    I'd like to start over again with Ubuntu, just for shits. The thing is, I really need something that's relatively easy to install and maintain. I can handle the hardware stuff, but software confuses the hell out of me for the most part. While it wouldn't be devastating, I'd like to not end up with a paper weight.

    Also, while my laptop isn't ancient, it is 8 years old. It was one of the first laptops offered with Wifi, back when the Intel Centrino chip was new. It's 1.6Ghz with 512MB RAM. I'm not expecting it to suddenly be lightning fast with Ubuntu installed, but will it at least run ok with my hardware?

    One last thing--is there any advantage to running Ubuntu alongside Windows XP, or should I just start over from scratch with Ubuntu? (This may be a really stupid question, but) If I replace XP with Ubuntu, are the files on my hard drive (music, documents, etc.) going to be lost?

    Thanks for any input.
     
  3. Omegaham

    Omegaham
    Expand Collapse
    Emotionally Jaded

    Reputation:
    3
    Joined:
    Oct 19, 2009
    Messages:
    879
    Location:
    Oregon
    Got a driver question.

    My laptop has an AMD Radeon HD 4200 graphics card, and the driver is fglrx, the proprietary driver that came when I automatically installed my drivers when I installed Ubuntu.

    I'm trying to play Command and Conquer: Red Alert 2 on Wine, and WineHQ said that it performs much better if I switch to 16-bit color depth. So I edited the xorg.conf file in my X11 folder to change the color depth... and when I restarted, on startup it told me that fglrx doesn't support color depth lower than 24 bits.

    Is there a workaround that I can use? (Another driver, some duct-tape and bubblegun kludge, anything) Alternatively, please tell me if I'm wasting my time.
     
  4. Celos

    Celos
    Expand Collapse
    Disturbed

    Reputation:
    0
    Joined:
    Oct 19, 2009
    Messages:
    292
    Location:
    Estonia
    Anyone using the Unity interface on Ubuntu? Any opinions? I've been trying it for a week or so and while there is a certain logic to it, it feels a bit clumsy and weird for desktop usage (seems like a decent notebook interface though). And now I hear they're dropping gnome entirely in the next few releases (why?).

    Seems like I'm fighting Canonical more and more trying to retain my user experience. Might be a good time to go over to Mint, since I hear they're staying away from some of the more controversial updates.
     
  5. scootah

    scootah
    Expand Collapse
    New mod

    Reputation:
    12
    Joined:
    Oct 21, 2009
    Messages:
    1,750
    I'm getting a new laptop (A dell vostro 3550) and have a current netbook that isn't coping with windows (an hp mininote) - I'm thinking that I really don't have a need for Windows anywhere at this point. I'm reasonably tech proficient, have used Ubuntu and RHEL/CentOS servers a fair bit, and mac workstations. But I haven't used any of the linux personal desktop builds for a while. I work with large scale microsoft infrastructure projects professional - so I'm relatively competent - but I basically don't give a fuck about computers at home as long as they work.

    Most of my needs are basic intarwebs, some wen published services, torrents, and consuming multimedia (porn and pirated movies and music). On rare occasions, I might need to fire up an RDP client or a citrix connector. I'll access some Windows fileshares, and if I can stream video to an xbox 360, that might be convenient, but it isn't a critical requirement really.

    I'm kind of considering Mint or Ubuntu and maybe Crunchbang for the netbook. I really don't care enough to fuck around with it any more than necessary. Is there any persuasive reason to go in one direction or the other?
     
  6. rei

    rei
    Expand Collapse
    Emotionally Jaded

    Reputation:
    16
    Joined:
    Oct 19, 2009
    Messages:
    1,273
    Location:
    Guelph, ON
    Alright I have a weird problem
    I have an AIX box in our lab (not physically accessable) that due to subnetting can only be accessed via SSH.. through a WS2k8 'jump server' on both subnets via windows RDC. X window doesn't seem to be working, apparently due to the two layers of seperation

    Regardless of what I have $DISPLAY set to, it can't open display, even when trying to xhost +.

    I was told abstractly to "install xming it'll sort it all out" on the windows server but that hasn't helped at all.

    Any helpful stepping stones in the right direction?
     
  7. Spin

    Spin
    Expand Collapse
    Should still be lurking

    Reputation:
    0
    Joined:
    Nov 11, 2009
    Messages:
    2
    Here's a hack using SSH tunnels:

    1. From the AIX box to the Intermediary server ("jump server"):
    Code:
    $ ssh -R 8080:localhost:22 intermediary.server.ip
    2. From your local terminal to the Intermediary server:
    Code:
    $ ssh -YC intermediary.server.ip
    $ ssh -YC -p 8080 localhost
     
  8. Omegaham

    Omegaham
    Expand Collapse
    Emotionally Jaded

    Reputation:
    3
    Joined:
    Oct 19, 2009
    Messages:
    879
    Location:
    Oregon
    I can't stand Unity and went right back to GNOME.

    If you want to stick with GNOME, it's pretty easy. When you upgrade, just download GNOME from the repository the same way you'd install any other program.
     
  9. rexmundi

    rexmundi
    Expand Collapse
    Village Idiot

    Reputation:
    0
    Joined:
    Oct 20, 2009
    Messages:
    41
    Ok, so I am trying to help one of our clients with a really strange problem.

    They are using a duplicator/printer tower to make dvds. When they burn a DVD, any windows machine will see it just fine. Their Red Hat and Solaris system will no see the disc at all. I had them use the same application to burn the same disc with the same settings, but use their internal desktop drive. That works fine, no problems at all. I had them use different drives in the duplicator and it all has the same results, which sorta rules out a drive hardware problem. So lost...


    Thanks!
     
  10. Nettdata

    Nettdata
    Expand Collapse
    Mr. Toast

    Reputation:
    2,863
    Joined:
    Feb 14, 2006
    Messages:
    25,731
    Take your internal burn sample and one from the duplicator and compare them. They are obviously not the same, so look at their properties and see what the DVD format being used is for each.

    I'd also check for updated firmware for the duplicator.

    How are you doing the duplicator stuff? Are you creating an ISO image and then saying "burn copies", or is the duplicator itself taking a bunch of files and creating its own ISO and burning that?

    The ones I've used in the past basically accepted a disk image and then used it to repeatedly burn copies to DVD's. That left it up to me to create the proper DVD format and it just did a bit-copy/burn onto the media.

    If it's creating it's own image based on files you're providing it, and then burning it, then it could be using the wrong format that isn't readable by your linux boxes.

    Also, can you burn a DVD "master", and then have the duplicator just clone it?
     
  11. rexmundi

    rexmundi
    Expand Collapse
    Village Idiot

    Reputation:
    0
    Joined:
    Oct 20, 2009
    Messages:
    41

    Thanks a bunch for getting back to me. I had them use a compare function on a different stand alone tower duplicator. I know that they will not be exact copies, but they were good enough to get a green light from the other machine. I may end up needed to use a more complex compare function.

    My company actually makes the duplicator in question. Control board and drive firmware are current.

    They have been using a .iso file to make multiple copies in the same batch. That will mostly rule out any problems compiling files into an image. Both copies (duplicator and internal drive) are using the same settings as far as session settings and protocols.

    Ill try the disc to disc copy, creating the master from the internal drive that had no problems. Honestly that is my best bet right now.

    Thanks again
     
  12. scootah

    scootah
    Expand Collapse
    New mod

    Reputation:
    12
    Joined:
    Oct 21, 2009
    Messages:
    1,750
    A friend shared this with me <a class="postlink" href="http://www.whylinuxisbetter.net/" onclick="window.open(this.href);return false;">http://www.whylinuxisbetter.net/</a> - triggering a 20 minute argument about how stupid it is.

    I agree with a few points, price, stability, repository management, less prone to slow death from utilization (reg cruft, disk fragmentation), and fewer reboots... but forget about viruses? Blatantly wrong. The fact that nobody bothers targeting linux doesn't mean that there aren't in the wild viruses, or that Linux is in any way immune to them. Protection, Freedom, Drivers (fucking seriously?), after install setup, freeware availability, desktop behavior and appearance, the environment, support, backdoors, workspaces, start menu cruft, free games, GDP leakage, IM client, Weather tracking and media players are all bullshit arguments. fuck all differentiation between a windows instance and a linux instance if they're both operated by someone with a brain - and no matter what anyone says, no current distro of linux is really suited to brainless users.

    Which got me to thinking, why the fuck am I running Ubuntu? What does it do that's worth the nuisance? I mean I love repository management - but Ninite/File Hippo and Microsoft Updates combine to be only slightly more fiddly. I really like Shotwell, but there's no shortage of photo managers for windows. I like that it's free, but I got an OEM license for windows with my hardware anyway - so who gives a fuck. I could install a freeware office version on Windows if I wanted to (but fuck it, they're all terrible). The slow death from utilization and reboots aren't that big a problem for someone who knows how to manage it - which seems like everyone who could reasonably use windows... What's left that's actually compelling? Sidenote - I get *nix servers. But if I need one of them at home, which is unlikely, I can always virtualize it or find an acceptable substitute for Windows.
     
  13. Celos

    Celos
    Expand Collapse
    Disturbed

    Reputation:
    0
    Joined:
    Oct 19, 2009
    Messages:
    292
    Location:
    Estonia
    What nuisance? As you said, the experience is nearly identical on both, once properly set up. Especially, since:

    [​IMG]
     
  14. scootah

    scootah
    Expand Collapse
    New mod

    Reputation:
    12
    Joined:
    Oct 21, 2009
    Messages:
    1,750
    Recently? Driver support for HDTV via.hdmi is terrible. Multi screen management from laptops in general is terrible. Failure to wake from lock screen while external storage devices are connected about 80% of the time, periodic loss of wireless network. When every other device on the LAN is fine. Getting cameras mounted to sync photos into shotwell is a huge pain in the ass. Getting video working for porn sites has consumed more time then I've actually spent watching porn. pushing ddwrt to my wireless router from windows is 5 steps. From Ubuntu? 43. Jailbreaking an Appletv2 just isn't worth attempting. None of the torrent clients I've looked at rate next to utorrent for windows. nothing that touches digsby for experience smoothness, and digsby isn't exactly great..

    None of those things are intolerable... But the benefits of Ubuntu or mint for desktop just don't seem worth the hassle.
     
  15. $100T2

    $100T2
    Expand Collapse
    Emotionally Jaded

    Reputation:
    108
    Joined:
    Oct 19, 2009
    Messages:
    1,966
    I'm taking the blue pill and getting ready to do an Ubuntu build. Just started reading up on it today, any tips/tricks?
     
  16. Binary

    Binary
    Expand Collapse
    Emotionally Jaded

    Reputation:
    382
    Joined:
    Oct 21, 2009
    Messages:
    4,060
    Ubuntu is piss-easy to get up and running.

    Installing it is basically like installing Windows: "I agree" "Next" "Next" "Next" "Finish"

    And then, voilĂ ! You have a system that is less useful, less compatible and more complex to do most tasks on than the Windows box, but with the benefit of not having to reboot it once a month!
     
  17. Nettdata

    Nettdata
    Expand Collapse
    Mr. Toast

    Reputation:
    2,863
    Joined:
    Feb 14, 2006
    Messages:
    25,731
    Fuck Windows. Just sayin.
     
  18. scootah

    scootah
    Expand Collapse
    New mod

    Reputation:
    12
    Joined:
    Oct 21, 2009
    Messages:
    1,750
    Don't turn into one of those assholes who talks about blue and red pills and gets obsessed with Linux, wears a fedora and carries the Knights code in his wallet.

    Honestly? My main advice is treat it as a learning experience, educate yourself on using the cli, and remember that every sane Linux admin in enterprise IT runs an OS X work station because Linux for desktop is a pain in the ass.

    Then basically what binary said. As long as you have adequate computer literacy and can use google from your phone, Linux is easy at a surface level.
     
  19. $100T2

    $100T2
    Expand Collapse
    Emotionally Jaded

    Reputation:
    108
    Joined:
    Oct 19, 2009
    Messages:
    1,966
    Nah, it's just that I have a tower with no OS to screw around with, so I figured I'd give it a try. If it doesn't work well, it's no big loss.
     
  20. Nettdata

    Nettdata
    Expand Collapse
    Mr. Toast

    Reputation:
    2,863
    Joined:
    Feb 14, 2006
    Messages:
    25,731
    Yep... my entire dev team uses OSX for development, and runs Virtualbox VM's (Linux) locally for testing, and pushes out to Linux stacks in our private cloud. It's a fantastic tech stack for develepment. (We do Node, Mongo, Java (Spring), Postgres stuff).

    Windows is at the bottom of my "OS's I'd like to run web apps on" list, for so many reasons.