Diego Pastore
2009-05-19 09:44:50 UTC
Hello,
i own a Net5501 board, with EIDE HD mounting kit, an internal 2.5" HD
and Linux Debian 4.0 "etch" installed on.
I plan to buy a SATA HD mount kit and a SATA HD, because EIDE interface
become obsolete, but i need to "DUMP" my Debian install from EIDE to
SATA HD, without need to reinstall.
I plan to power off soekris, detach my EIDE hd, connect it to an
adaptor, dump all my data to new SATA HD, and connect it to my 5501.
But, which modification I have to made to my Debian installation? Below
some (I hope useful) information:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/pastrix1-root / ext3
defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext3 defaults 0 2
/dev/mapper/pastrix1-home /home ext3 defaults 0 2
/dev/mapper/pastrix1-tmp /tmp ext3 defaults 0 2
/dev/mapper/pastrix1-usr /usr ext3 defaults 0 2
/dev/mapper/pastrix1-var /var ext3 defaults 0 2
/dev/mapper/pastrix1-swap_1 none swap sw
0 0
-----------------------------------------------------------------------------------
Disk /dev/hda: 19457 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 30 31- 248976 83 Linux
/dev/hda2 31 19456 19426 156039345 5 Extended
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 31+ 19456 19426- 156039313+ 8e Linux LVM
-----------------------------------------------------------------------------------
Linux pastrix1 2.6.18-6-486 #1 Mon May 4 23:59:22 UTC 2009 i586 GNU/Linux
-----------------------------------------------------------------------------------
Module Size Used by
ipv6 213984 42
tun 10368 1
pc87360 17040 0
hwmon_vid 2816 1 pc87360
i2c_isa 5248 1 pc87360
i2c_core 19472 2 pc87360,i2c_isa
loop 14216 0
evdev 9088 0
geode_rng 2560 0
psmouse 34568 0
serio_raw 6532 0
pcspkr 2816 0
ext3 116488 6
jbd 47272 1 ext3
dm_mirror 18000 0
dm_snapshot 15644 0
dm_mod 48952 15 dm_mirror,dm_snapshot
ide_generic 1536 0 [permanent]
ide_disk 14848 3
generic 4996 0 [permanent]
ehci_hcd 27144 0
ohci_hcd 17540 0
usbcore 109444 3 ehci_hcd,ohci_hcd
amd74xx 13084 0 [permanent]
ide_core 107760 4 ide_generic,ide_disk,generic,amd74xx
via_rhine 21768 0
mii 5376 1 via_rhine
processor 23724 0
-----------------------------------------------------------------------------------
--- Logical volume ---
LV Name /dev/pastrix1/root
VG Name pastrix1
LV UUID JPaAZN-BQix-7S1X-ZQaq-MsyH-CWgj-IaFk3m
LV Write Access read/write
LV Status available
# open 1
LV Size 276,00 MB
Current LE 69
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:0
--- Logical volume ---
LV Name /dev/pastrix1/usr
VG Name pastrix1
LV UUID JnRgE0-6Nnr-KFJb-ifqK-GfMQ-QcEx-i7qInv
LV Write Access read/write
LV Status available
# open 1
LV Size 4,77 GB
Current LE 1221
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:1
--- Logical volume ---
LV Name /dev/pastrix1/var
VG Name pastrix1
LV UUID MNWVtW-6kMG-YXXw-4bSX-o2Em-jf9U-tvV3N7
LV Write Access read/write
LV Status available
# open 1
LV Size 2,86 GB
Current LE 733
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:2
--- Logical volume ---
LV Name /dev/pastrix1/swap_1
VG Name pastrix1
LV UUID ItI33n-0YC7-HKkQ-o7H6-5F3N-I6VV-XxZfr0
LV Write Access read/write
LV Status available
# open 2
LV Size 1,48 GB
Current LE 379
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:3
--- Logical volume ---
LV Name /dev/pastrix1/tmp
VG Name pastrix1
LV UUID 3BBNsG-Rw42-okPf-XFD9-TJyn-EOGw-FVODAg
LV Write Access read/write
LV Status available
# open 1
LV Size 392,00 MB
Current LE 98
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:4
--- Logical volume ---
LV Name /dev/pastrix1/home
VG Name pastrix1
LV UUID AJmSYW-GsiK-zjmw-ZlD1-Uwu5-X7e9-RBCCSW
LV Write Access read/write
LV Status available
# open 1
LV Size 139,04 GB
Current LE 35595
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:5
i own a Net5501 board, with EIDE HD mounting kit, an internal 2.5" HD
and Linux Debian 4.0 "etch" installed on.
I plan to buy a SATA HD mount kit and a SATA HD, because EIDE interface
become obsolete, but i need to "DUMP" my Debian install from EIDE to
SATA HD, without need to reinstall.
I plan to power off soekris, detach my EIDE hd, connect it to an
adaptor, dump all my data to new SATA HD, and connect it to my 5501.
But, which modification I have to made to my Debian installation? Below
some (I hope useful) information:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/pastrix1-root / ext3
defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext3 defaults 0 2
/dev/mapper/pastrix1-home /home ext3 defaults 0 2
/dev/mapper/pastrix1-tmp /tmp ext3 defaults 0 2
/dev/mapper/pastrix1-usr /usr ext3 defaults 0 2
/dev/mapper/pastrix1-var /var ext3 defaults 0 2
/dev/mapper/pastrix1-swap_1 none swap sw
0 0
-----------------------------------------------------------------------------------
Disk /dev/hda: 19457 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 30 31- 248976 83 Linux
/dev/hda2 31 19456 19426 156039345 5 Extended
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 31+ 19456 19426- 156039313+ 8e Linux LVM
-----------------------------------------------------------------------------------
Linux pastrix1 2.6.18-6-486 #1 Mon May 4 23:59:22 UTC 2009 i586 GNU/Linux
-----------------------------------------------------------------------------------
Module Size Used by
ipv6 213984 42
tun 10368 1
pc87360 17040 0
hwmon_vid 2816 1 pc87360
i2c_isa 5248 1 pc87360
i2c_core 19472 2 pc87360,i2c_isa
loop 14216 0
evdev 9088 0
geode_rng 2560 0
psmouse 34568 0
serio_raw 6532 0
pcspkr 2816 0
ext3 116488 6
jbd 47272 1 ext3
dm_mirror 18000 0
dm_snapshot 15644 0
dm_mod 48952 15 dm_mirror,dm_snapshot
ide_generic 1536 0 [permanent]
ide_disk 14848 3
generic 4996 0 [permanent]
ehci_hcd 27144 0
ohci_hcd 17540 0
usbcore 109444 3 ehci_hcd,ohci_hcd
amd74xx 13084 0 [permanent]
ide_core 107760 4 ide_generic,ide_disk,generic,amd74xx
via_rhine 21768 0
mii 5376 1 via_rhine
processor 23724 0
-----------------------------------------------------------------------------------
--- Logical volume ---
LV Name /dev/pastrix1/root
VG Name pastrix1
LV UUID JPaAZN-BQix-7S1X-ZQaq-MsyH-CWgj-IaFk3m
LV Write Access read/write
LV Status available
# open 1
LV Size 276,00 MB
Current LE 69
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:0
--- Logical volume ---
LV Name /dev/pastrix1/usr
VG Name pastrix1
LV UUID JnRgE0-6Nnr-KFJb-ifqK-GfMQ-QcEx-i7qInv
LV Write Access read/write
LV Status available
# open 1
LV Size 4,77 GB
Current LE 1221
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:1
--- Logical volume ---
LV Name /dev/pastrix1/var
VG Name pastrix1
LV UUID MNWVtW-6kMG-YXXw-4bSX-o2Em-jf9U-tvV3N7
LV Write Access read/write
LV Status available
# open 1
LV Size 2,86 GB
Current LE 733
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:2
--- Logical volume ---
LV Name /dev/pastrix1/swap_1
VG Name pastrix1
LV UUID ItI33n-0YC7-HKkQ-o7H6-5F3N-I6VV-XxZfr0
LV Write Access read/write
LV Status available
# open 2
LV Size 1,48 GB
Current LE 379
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:3
--- Logical volume ---
LV Name /dev/pastrix1/tmp
VG Name pastrix1
LV UUID 3BBNsG-Rw42-okPf-XFD9-TJyn-EOGw-FVODAg
LV Write Access read/write
LV Status available
# open 1
LV Size 392,00 MB
Current LE 98
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:4
--- Logical volume ---
LV Name /dev/pastrix1/home
VG Name pastrix1
LV UUID AJmSYW-GsiK-zjmw-ZlD1-Uwu5-X7e9-RBCCSW
LV Write Access read/write
LV Status available
# open 1
LV Size 139,04 GB
Current LE 35595
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:5