Find the answer to your Linux question:
Results 1 to 4 of 4
Help..... Please.. My Debian server had a standard file system /dev/home /dev/var etc, to now having a read only system /dev/mapper? your help please RobinD...
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3

    file system in read only mode

    Help..... Please..

    My Debian server had a standard file system /dev/home /dev/var etc, to now having a read only system /dev/mapper?

    your help please

    RobinD

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    We need more info. Did you edit any config or install/uninstall any package? Is Debian booting up? Post the output of fdisk -l command and contents of /etc/fstab file. If Debian is not booting up, You can use any LiveCD.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3

    Read Only

    hi, thanks for the response.


    No software has been installed, the server was left running one evening and the next day ......
    dwt4:~# fdisk -l

    Disk /dev/sda: 36.7 GB, 36701199872 bytes
    255 heads, 63 sectors/track, 4462 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 31 248976 83 Linux
    /dev/sda2 32 4462 35592007+ 5 Extended
    /dev/sda5 32 4462 35591976 8e Linux LVM

    Disk /dev/dm-0: 289 MB, 289406976 bytes
    255 heads, 63 sectors/track, 35 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-0 doesn't contain a valid partition table

    Disk /dev/dm-1: 5121 MB, 5121245184 bytes
    255 heads, 63 sectors/track, 622 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-1 doesn't contain a valid partition table

    Disk /dev/dm-2: 3074 MB, 3074424832 bytes
    255 heads, 63 sectors/track, 373 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-2 doesn't contain a valid partition table

    Disk /dev/dm-3: 2785 MB, 2785017856 bytes
    255 heads, 63 sectors/track, 338 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-3 doesn't contain a valid partition table

    Disk /dev/dm-4: 411 MB, 411041792 bytes
    255 heads, 63 sectors/track, 49 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-4 doesn't contain a valid partition table

    Disk /dev/dm-5: 24.7 GB, 24763170816 bytes
    255 heads, 63 sectors/track, 3010 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-5 doesn't contain a valid partition table
    dwt4:~#



    /etc/fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/mapper/dwt44-root / ext3 defaults,errors=remount-ro 0/dev/mapper/dwt44-root / ext3 defaults,errors=remount-ro 0 $ 1
    /dev/mapper/dwt44-root / ext3 defaults 0 2
    /dev/mapper/dwt44-home /home ext3 defaults 0 2
    /dev/mapper/dwt44-tmp /tmp ext3 defaults 0 2
    /dev/mapper/dwt44-usr /usr ext3 defaults 0 2
    /dev/mapper/dwt44-var /var ext3 defaults 0 2
    /dev/mapper/dwt44-swap_1 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/sda /media/usb0 auto noauto,rw,users 0 0


    Thanks

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Everything seems correct here. You have LVM and it was created during installation only. Are sure that it was /dev/home earlier? Its very tricky to create LVM and assign new mount points after installation. No OS can do it automatically atleast.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •