Search:

Type: Posts; User: lingpanda; Keyword(s):

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    215

    [ubuntu] Execute shell script on file changes

    Attempting to use inotify to monitor a file for changes. When the file has changed, I would like to run a series of commands located in a script. I'm using Ubuntu 12.04 LTS. Can someone assist? So...
  2. Replies
    1
    Views
    237

    [SOLVED] Re: rsnyc to ReadyNAS

    I need to use the absolute path.


    NAS1:/data/pfms1backup
  3. Replies
    1
    Views
    237

    [SOLVED] rsnyc to ReadyNAS

    Hello,

    I have a Ubuntu 12.04 LTS server. I would like to copy files from this server onto a ReadyNAS 204 using rysnc. I can't get this to work. Here are my current steps.



    Create folder...
  4. Re: How to install samba 4 as an active directory domain controller

    You have what appears to be a network issue and not a Samba related issue. I think. I'm of little help in this regard.

    hots -t A is giving out your old IP because it's not updated in your DNS...
  5. Re: How to install samba 4 as an active directory domain controller

    This won't have any affect on your issue but you should set your hostname to your FQDN(ie. Server1.mydomain.co.com)

    So while logged in locally or via SSH you can't ping IP 192.168.1.1? Have you...
  6. [ubuntu] Re: SAMBA shares works over IP, but over Hostname don't

    I would start here on building a member server.

    https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server

    Is this authenticating against a Windows or Samba AD?
  7. Re: Raid 1 MDADM Displays State: Clean, degraded

    Small update. It looks as if I may actually have issues with the server box itself. Now I not seeing the good HD in the bios as well. The 'faulty' HD might just end up being good.
  8. Re: How to install samba 4 as an active directory domain controller

    Do you still have this issue? If so can you post your network settings from '/etc/network/interfaces'?
  9. Replies
    1
    Views
    220

    Re: Samba4 Domain Setup with two DCs

    You should be able to directly connect to any DC in your forest. How have you confirmed replication is working?
  10. Re: Raid 1 MDADM Displays State: Clean, degraded

    I finally have the system up and running again. :D

    When I couldn't find grub it got me thinking. Maybe I need to use chroot. This link...
  11. Re: Raid 1 MDADM Displays State: Clean, degraded

    I was able to mount the drive and backup any contents I need, just in case. I'm unable to install grub. Grub is missing from usr/sbin. I used locate and found the only instance of grub on...
  12. Re: Raid 1 MDADM Displays State: Clean, degraded

    Yes. You are correct.

    I went ahead and removed the faulty drive. I did not attempt to reinstall the replacement drive. It's now running with just one drive.

    This is what I get now.


    sudo...
  13. Re: Raid 1 MDADM Displays State: Clean, degraded

    This is what parted displays within live. Both good and faulty drive installed.


    sudo parted -l
    Model: ATA ST2000DM001-1CH1 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical):...
  14. Re: Raid 1 MDADM Displays State: Clean, degraded

    It's the new drive. I'll look to see if maybe it's a sata cable that is bad. However I do not see the faulty drive in the bios. I do see the new drive. I guess in the meantime I would like to try and...
  15. Re: Raid 1 MDADM Displays State: Clean, degraded

    I receive a error when issuing


    mklabel msdos

    Input/Output Error on read /dev/sda. Ignore retry cancel. Do I need to format the drive prior to creating the label? Thanks.
  16. Re: Raid 1 MDADM Displays State: Clean, degraded

    I'll go with option 1. Thanks.
  17. Re: Raid 1 MDADM Displays State: Clean, degraded

    In my haste, I forgot to issue the commands to remove the faulty HD prior to install of new HD. Now I get the dreaded


    error no such disk
    grub rescue

    If this was a single HD, I wouldn't be...
  18. Re: Raid 1 MDADM Displays State: Clean, degraded

    @pfmember1:~# parted /dev/sdb unit MiB print
    Model: ATA ST2000DM001-1CH1 (scsi)
    Disk /dev/sdb: 1907729MiB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos

    Number Start ...
  19. Re: Raid 1 MDADM Displays State: Clean, degraded

    @pfmember1:~# parted -l
    Warning: Error fsyncing/closing /dev/sda: Input/output error
    Retry/Ignore? i
    Model: ATA ST2000DM001-1CH1 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical):...
  20. Re: Raid 1 MDADM Displays State: Clean, degraded

    Was not aware of the sudo and --manage effect. Good to know. Thanks.

    I've not created partitions from command line before. All my experience has been during install of the OS. This is my main...
  21. Re: Raid 1 MDADM Displays State: Clean, degraded

    Do the following steps look correct to replace the faulty drive?

    1.Mark as failed:
    mdadm --manage /dev/md0 --fail /dev/sda1




    2. Remove:
    mdadm --manage /dev/md0 --remove /dev/sda1
  22. Re: Raid 1 MDADM Displays State: Clean, degraded

    Hello Darkod,


    It appears I may have a faulty disk.


    @pfmember1:~# mdadm --detail /dev/md0
    /dev/md0:
    Version : 1.2
    Creation Time : Fri Jan 2 09:45:43 2015
  23. Re: Raid 1 MDADM Displays State: Clean, degraded

    I think the --add did the trick.


    @pfmember1:~# mdadm --detail /dev/md1
    /dev/md1:
    Version : 1.2
    Creation Time : Fri Jan 2 09:45:50 2015
    Raid Level : raid1
    Array Size :...
  24. Re: Raid 1 MDADM Displays State: Clean, degraded

    Darkod,


    Didn't work.


    mdadm: --re-add for /dev/sda2 to /dev/md1 is not possible

    Would I be safe to run
  25. Raid 1 MDADM Displays State: Clean, degraded

    Hello,


    Hope someone can help. Several topics about raid. However many seem to be unique. Noticed the following in my syslog.

    DegradedArray event detected on md device /dev/md/1


    ...
Results 1 to 25 of 204
Page 1 of 9 1 2 3 4