Problem with the disk after mounting
Re: Problem with the disk after mounting
Writes the error "mount: special device /dev/sdb1 does not exist"
Re: Problem with the disk after mounting
How about actually posting the output from the commands you've been asked to run so we can see them.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Problem with the disk after mounting
fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 240.1 GB, 240057409536 bytes, 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 5C2EE723-E850-49C0-A678-948653F2D9B2
# Start End Size Type Name
1 2048 10651647 5.1G EFI System EFI System Partition
2 10651648 18892799 4G Microsoft basic
3 18892800 468860927 214.6G Linux LVM
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/centos_vps-root: 75.2 GB, 75161927680 bytes, 146800640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-swap: 22.3 GB, 22275948544 bytes, 43507712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-var: 75.2 GB, 75161927680 bytes, 146800640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-home: 57.8 GB, 57780731904 bytes, 112852992 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 5.1G 0 part /boot/efi
├─sda2 8:2 0 4G 0 part /boot
└─sda3 8:3 0 214.6G 0 part
├─centos_vps-root 253:0 0 70G 0 lvm /
├─centos_vps-swap 253:1 0 20.8G 0 lvm [SWAP]
├─centos_vps-var 253:2 0 70G 0 lvm /var
└─centos_vps-home 253:3 0 53.8G 0 lvm /home
sdb 8:16 0 1.8T 0 disk /home/admin/site/kino.com
df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 16343604 0 16343604 0% /dev
tmpfs 16388816 0 16388816 0% /dev/shm
tmpfs 16388816 33828 16354988 1% /run
tmpfs 16388816 0 16388816 0% /sys/fs/cgroup
/dev/mapper/centos_vps-root 73364480 8488768 64875712 12% /
/dev/sda2 4110336 244544 3865792 6% /boot
/dev/sda1 5314404 11472 5302932 1% /boot/efi
/dev/mapper/centos_vps-home 56398944 29556952 26841992 53% /home
/dev/mapper/centos_vps-var 73364480 4307560 69056920 6% /var
/dev/sdb 1922721048 77836 1824951100 1% /home/admin/site/kino.com
tmpfs 3277764 0 3277764 0% /run/user/1000
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 240.1 GB, 240057409536 bytes, 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 5C2EE723-E850-49C0-A678-948653F2D9B2
# Start End Size Type Name
1 2048 10651647 5.1G EFI System EFI System Partition
2 10651648 18892799 4G Microsoft basic
3 18892800 468860927 214.6G Linux LVM
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/centos_vps-root: 75.2 GB, 75161927680 bytes, 146800640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-swap: 22.3 GB, 22275948544 bytes, 43507712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-var: 75.2 GB, 75161927680 bytes, 146800640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos_vps-home: 57.8 GB, 57780731904 bytes, 112852992 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 5.1G 0 part /boot/efi
├─sda2 8:2 0 4G 0 part /boot
└─sda3 8:3 0 214.6G 0 part
├─centos_vps-root 253:0 0 70G 0 lvm /
├─centos_vps-swap 253:1 0 20.8G 0 lvm [SWAP]
├─centos_vps-var 253:2 0 70G 0 lvm /var
└─centos_vps-home 253:3 0 53.8G 0 lvm /home
sdb 8:16 0 1.8T 0 disk /home/admin/site/kino.com
df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 16343604 0 16343604 0% /dev
tmpfs 16388816 0 16388816 0% /dev/shm
tmpfs 16388816 33828 16354988 1% /run
tmpfs 16388816 0 16388816 0% /sys/fs/cgroup
/dev/mapper/centos_vps-root 73364480 8488768 64875712 12% /
/dev/sda2 4110336 244544 3865792 6% /boot
/dev/sda1 5314404 11472 5302932 1% /boot/efi
/dev/mapper/centos_vps-home 56398944 29556952 26841992 53% /home
/dev/mapper/centos_vps-var 73364480 4307560 69056920 6% /var
/dev/sdb 1922721048 77836 1824951100 1% /home/admin/site/kino.com
tmpfs 3277764 0 3277764 0% /run/user/1000
Re: Problem with the disk after mounting
Well someone has created a filesystem on the entire disk /dev/sdb and neglected to partition it. That will work but it does mean any other admins that come along might look at the disk and think "no partitions, that's unused" and do something to it.
In the meantime, all I can see from your output is that there is a device called /dev/sdb, it is formatted and has a filesystem on it, that is mounted and it says it using 77MB of 1922721MB and is 1% used. If that is where your data used to be then it's time to get your backups out and start restoring.
If you want to know what happened to it I would suggest reading the contents of /root/.bash_history and the same file for any users that have sudo ability.
In the meantime, all I can see from your output is that there is a device called /dev/sdb, it is formatted and has a filesystem on it, that is mounted and it says it using 77MB of 1922721MB and is 1% used. If that is where your data used to be then it's time to get your backups out and start restoring.
If you want to know what happened to it I would suggest reading the contents of /root/.bash_history and the same file for any users that have sudo ability.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Problem with the disk after mounting
Advise me how to restore files normally. I have tried many and not everyone restores everything normally. Of course I didn't overwrite the disk after recovery
Re: Problem with the disk after mounting
Note I said "restore from backups".
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Problem with the disk after mounting
Following up on Trevor's post:
If the drive is partitioned and the filesystem is really on /dev/sdb1, then /dev/sdb would not mount.
Did you really mount the drive? What does the command
show after mounting the disk?
If the drive is partitioned and the filesystem is really on /dev/sdb1, then /dev/sdb would not mount.
Did you really mount the drive? What does the command
Code: Select all
df -l
Re: Problem with the disk after mounting
/dev/sdb 1922721048 77836 1824951100 1% /home/admin/site/kino.com
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke